changing the linkage type of

FT_New_GlyphSlot and FT_Done_GlyphSlot to
BASE_DEF instead of FT_EXPORT_DEF
david-pic-changes
David Turner 25 years ago
parent 896b604ca8
commit a0be99f131
  1. 7
      include/freetype/internal/ftobjs.h
  2. 6
      src/base/ftobjs.c

@ -207,10 +207,11 @@
FT_EXPORT_DEF( FT_Error ) FT_Done_Size( FT_Size size );
FT_EXPORT_DEF( FT_Error ) FT_New_GlyphSlot( FT_Face face,
FT_GlyphSlot* aslot );
FT_EXPORT_DEF( void ) FT_Done_GlyphSlot( FT_GlyphSlot slot );
BASE_DEF( FT_Error ) FT_New_GlyphSlot( FT_Face face,
FT_GlyphSlot* aslot );
BASE_DEF( void ) FT_Done_GlyphSlot( FT_GlyphSlot slot );
/*************************************************************************/

@ -764,8 +764,8 @@
/* <Return> */
/* FreeType error code. 0 means success. */
/* */
FT_EXPORT_FUNC( FT_Error ) FT_New_GlyphSlot( FT_Face face,
FT_GlyphSlot* aslot )
BASE_FUNC( FT_Error ) FT_New_GlyphSlot( FT_Face face,
FT_GlyphSlot* aslot )
{
FT_Error error;
FT_Driver driver;
@ -818,7 +818,7 @@
/* <Input> */
/* slot :: A handle to a target glyph slot. */
/* */
FT_EXPORT_FUNC( void ) FT_Done_GlyphSlot( FT_GlyphSlot slot )
BASE_FUNC( void ) FT_Done_GlyphSlot( FT_GlyphSlot slot )
{
if ( slot )
{

Loading…
Cancel
Save