pdf-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pdf-devel] pdf_fsys_disk_get_free_space()


From: jemarch
Subject: Re: [pdf-devel] pdf_fsys_disk_get_free_space()
Date: Sat, 15 Nov 2008 02:00:13 +0100
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)

   2008/11/14 Aleksander Morgado <address@hidden>:
   > Yes, it's probably better than using directly pdf_i64_t. In OS without
   > built-in 64bit support, pdf_off_t will be 32-bits, and 64-bits or longer in
   > all the others.  Right?

   It will be 32 if you compile without LFS. Which current OS doesn't have LFS?

As a side note, the Acrobat SDK provides two different data types and
functions:

   typedef ASUns32 ASDiskSpace;
   ASFileSysGetStorageFreeSpace ()

   typedef ASUns64 ASDiskSpace64;
   ASFileSysGetStorageFreeSpace64 ()

There are other functions with 64-bit versions.
But I would avoid to use 64-bit specific alternatives if possible.

Aleks, how are you implementing pdf_fsys_disk_get_free_space() for
both POSIX and Windows?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]