freetype-devel
[Top][All Lists]
Advanced

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

too many exported functions.


From: Werner LEMBERG
Subject: too many exported functions.
Date: Sun, 16 Jul 2000 19:43:03 +0200 (CEST)

Here a list of functions in include/freetype/internal which are
defined as `FT_EXPORT_DEF':

ftcalc.h:   FT_Sqrt64               *
            FT_Add64                *
            FT_MulTo64              *
            FT_Div64by32            *
ftdebug.h:  FT_SetTraceLevel
            FT_Message
            FT_Panic
ftextend.h: FT_Register_Extension
            FT_Get_Extension
ftlist.h:   FT_List_Find            *
            FT_List_Add             *
            FT_List_Insert          *
            FT_List_Remove          *
            FT_List_Up              *
            FT_List_Iterate         *
            FT_List_Finalize        *
ftobjs.h:   FT_New_Size
            FT_Done_Size
            FT_New_GlyphSlot
            FT_Done_GlyphSlot
            FT_New_Stream
            FT_Done_Stream
            FT_New_Memory

I've marked the function which should not be exported IMHO with an
asterisk; on the other hand, the functions to be exported (except
functions from ftdebug.h) should not be in the `internal'
subdirectory...

My suggestion is to move these function declarations into either
freetype.h or other modules (e.g. extension functions into
ftmodule.h).


    Werner



reply via email to

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