pdf-devel
[Top][All Lists]
Advanced

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

Re: [pdf-devel] System 64-bit types


From: Daniel Vidal
Subject: Re: [pdf-devel] System 64-bit types
Date: Wed, 14 May 2008 09:28:04 +0200

Hi,

As JP said, if both functions and macros are equally horrible, lets go
for performance...

On Wed, May 14, 2008 at 2:04 AM, Juan Pedro Bolivar Puente
<address@hidden> wrote:
>
>
> >
> > As of a library I know of its high portability, SDL implements it like
> this: http://svn.libsdl.org/branches/SDL-1.2/include/SDL_stdinc.h. I still
> don't know if Uint64 would work correctly if SDL_HAS_64BIT_TYPE is not
> defined...
> >
> > JP
> >
> >
> >
>
>  Actually, it does not, as expected from the linked code. On some log:
>
>  +0.9.12:
>  +       There is partial support for 64-bit datatypes.  I don't recommend +
> you use this if you have a choice, because 64-bit datatypes are not
>  +       supported on many platforms.  On platforms for which it is
> supported,
>  +       the SDL_HAS_64BIT_TYPE C preprocessor define will be enabled, and
>  +       you can use the Uint64 and Sint64 datatypes.
>
>
>  Well, let's go for macros then. Actually, the user of the library is still
> free to use pdf_int64_t with common operators if he does not mind about
> portability. It is actually a must for us, so let's go with preprocessor
> macros, in my opinion.
>
>  Sorry for the useless previous email.
>
>  JP
>
>
>




reply via email to

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