[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pdf-devel] New functions for the Time Module
From: |
jemarch |
Subject: |
Re: [pdf-devel] New functions for the Time Module |
Date: |
Sat, 26 Jul 2008 00:25:34 +0200 |
User-agent: |
Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
Hi Aleks.
As requested some time ago, I added three new functions in the API of
the Time Module, to easily initialize pdf_time_t variables with
unix-timescale epochs and w32-specific Filetime-timescale epochs
(http://msdn.microsoft.com/en-us/library/ms724290(VS.85).aspx).
Zac, could you please confirm that the API proposed by Aleks fits your
needs in the writing of the default filesystem?
address@hidden pdf_status_t pdf_time_set_from_i32 (pdf_time_t
@var{time_var}, pdf_i32_t @var{seconds})
address@hidden pdf_status_t pdf_time_set (pdf_time_t @var{time_var},
pdf_i64_t @var{seconds})
Why are we using signed values for the parameters?
Also, I would name the second function as 'pdf_time_set_from_i64'. It
is more explicit.