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: gerel
Subject: Re: [pdf-devel] pdf_fsys_disk_get_free_space()
Date: Fri, 14 Nov 2008 20:19:38 -0800 (PST)

 > Date: Sat, 15 Nov 2008 02:00:13 +0100
 > From: address@hidden
 > 
 >    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.

Sure, as long as we're not dealing with file/disk sizes, otherwise, the 4GB
limit is lame (I've not seen a 4GB PDF file, but as we know the module could be
used for anything else, not just for reading/writing PDFs).

cheers,

-gerel




reply via email to

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