freetype-devel
[Top][All Lists]
Advanced

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

Re: AW: [Devel] on ((s*)0)->f constructs


From: Werner LEMBERG
Subject: Re: AW: [Devel] on ((s*)0)->f constructs
Date: Fri, 22 Dec 2000 22:21:57 +0100 (CET)

> How about a real pointer variable that happens to
> be NULL.
> 
> static void *p = 0;
> #define FT_FIELD_SIZE( f ) \
>           (FT_Byte)sizeof ( ((FT_STRUCTURE*)p)->f )
> 
> This should work just fine, I think.

A very promising idea!  I would like to know whether the original
and/or this code works on AS/400...


    Werner



reply via email to

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