[cairo] static inline C code in VC++
Behdad Esfahbod
behdad at behdad.org
Sat Jan 19 23:58:08 PST 2008
On Sat, 2008-01-19 at 19:30 -0500, Antoine Azar wrote:
>
> Hi Behdad,
>
> the static inline functions are probably at the right place, we're
> talking about functions like _cairo_fixed_from_int,
> _cairo_fixed_from_double, etc, in cairo-fixed-private.h.
>
> Isn't it better to move the platform dependant defines to another
> file than cairoint.h, and include that file in cairoint.h and
> wherever else it's needed?
>
> Antoine
Committed two fixes for this. First, splitting typedefs from prototypes
in cairo-fixed-private.h and cairo-wideint-private.h, and moving the MSC
macros from cairoint.h into cairo-compiler-private.h. Each change would
have been enough to fix your problems...
--
behdad
http://behdad.org/
"Those who would give up Essential Liberty to purchase a little
Temporary Safety, deserve neither Liberty nor Safety."
-- Benjamin Franklin, 1759
More information about the cairo
mailing list