> Date: Sat, 15 Nov 2008 02:00:13 +0100 > From: [EMAIL PROTECTED] > > 2008/11/14 Aleksander Morgado <[EMAIL PROTECTED]>: > > 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
