freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] Prototypes of memory debugging routines on WIN64


From: Alexei Podtelezhnikov
Subject: Re: [ft-devel] Prototypes of memory debugging routines on WIN64
Date: Tue, 11 Sep 2018 22:32:27 -0400

On Tue, Sep 11, 2018 at 3:14 PM Hin-Tak Leung
<address@hidden> wrote:
> - FT_Alloc_Func and FT_Realloc_Func have "long" in the headers but have 
> FT_Long in the implementation of the debug pairs. (the normal pair have 
> "long"). Some consistency would be good. I tried changing the header to 
> FT_Long (and redefining FT_Long to 64-bit) but unfortunately the public 
> header does not include the FT_Long definition in inttypes.h and it gets 
> rather ugly when different part of FreeType thinks of FT_Long with different 
> sizes... Those functions need a 64-bit type in the prototype, and neither 
> "long" nor "FT_Long" are currently 64-bit on win64.

Indeed, size_t is the correct C89-compliant type. Would it hurt to
modify FT_Alloc_Func and FT_Realloc_Func?



reply via email to

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