pdf-devel
[Top][All Lists]
Advanced

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

Re: [pdf-devel] pdf-i64 macros


From: Aleksander Morgado
Subject: Re: [pdf-devel] pdf-i64 macros
Date: Tue, 24 Jun 2008 22:47:43 +0200
User-agent: Thunderbird 2.0.0.14 (Macintosh/20080421)



Finally did something about the macros regarding systems that have 64
bit support. To be honest I don't like much the result. In the sense
that macros can be helpful sometimes, but also terribly messy and
tricky (e.g. not so fantastic regarding error support). In this case,
I think it doesn't really solve the issue of transparent 64 bit
support for the client regarding the pdf_i64 functions. If the pdf_i64
functions aren't going to be used much through out the code (e.g. time
module), I find it better to go back to the original suggestion by
jemarch and make the support directly on the code using the functions.

Yep, due to the error report they are not fully compatible (the macros don't return a pdf_status_t as the functions do).

What about forgetting the errors in the 64bit module and set all functions returning void? In that case there shouldn't be any problem with the compatibility between the macro version and the function version.

-Aleksander




reply via email to

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