freetype-devel
[Top][All Lists]
Advanced

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

[Devel] fix for definition of FT_Render_Glyph_Internal


From: Graham Asher
Subject: [Devel] fix for definition of FT_Render_Glyph_Internal
Date: Thu, 6 Jun 2002 11:20:56 +0100

The function FT_Render_Glyph_Internal is declared as

  FT_BASE( FT_Error )
  FT_Render_Glyph_Internal( FT_Library    library,
                            FT_GlyphSlot  slot,
                            FT_UInt       render_mode );


but defined as

  FT_EXPORT_DEF( FT_Error )
  FT_Render_Glyph_Internal( FT_Library    library,
                            FT_GlyphSlot  slot,
                            FT_UInt       render_mode )

The definition, in ftobjs.c, should be changed to

  FT_BASE_DEF( FT_Error )
  FT_Render_Glyph_Internal( FT_Library    library,
                            FT_GlyphSlot  slot,
                            FT_UInt       render_mode )

This error appears when FT_BASE_DEF and FT_EXPORT_DEF are different, which
will happen when compiling FreeType as a Windows DLL.

Graham Asher






reply via email to

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