freetype2/include/freetype/internal
David Turner b0667d2d36 [build] Improve visibility support of library function names.
* include/freetype/config/public-macros.h
(FT_PUBLIC_FUNCTION_ATTRIBUTE): New macro to tag functions as
public (and thus exportable).
(FT_EXPORT): Use it.

* include/freetype/config/compiler-macros.h
(FT_INTERNAL_FUNCTION_ATTRIBUTE): New macro to tag functions as
internal to the library (and thus hidden).  Note that on ELF
systems, all internal functions have hidden visibility, which avoids
the need to enforce this when invoking the compiler (e.g., with an
option like `-fvisibility=hidden').

(FT_FUNCTION_DECLARATION, FT_FUNCTION_DEFINITION): New base macros
to deal with C and C++ linkage issues at the same time.

(FT_LOCAL, FT_LOCAL_DEF, FT_LOCAL_ARRAY, FT_LOCAL_ARRAY_DEF,
FT_BASE, FT_BASE_DEF, FT_EXPORT_VAR, FT_BASE_CALLBACK,
FT_BASE_CALLBACK_DEF): Redefined using new macros.
2020-07-05 11:03:23 +02:00
..
services Make macros for header file names optional. 2020-06-08 13:31:55 +02:00
autohint.h Remove redundant inclusion of `ft2build.h'. 2020-06-13 21:15:45 +02:00
cffotypes.h Remove redundant inclusion of `ft2build.h'. 2020-06-13 21:15:45 +02:00
cfftypes.h Remove redundant inclusion of `ft2build.h'. 2020-06-13 21:15:45 +02:00
compiler-macros.h [build] Improve visibility support of library function names. 2020-07-05 11:03:23 +02:00
ftcalc.h [build] Split off more stuff from `ftconfig.h'. 2020-07-05 10:42:23 +02:00
ftdebug.h [build] Split off more stuff from `ftconfig.h'. 2020-07-05 10:42:23 +02:00
ftdrv.h [build] Split off more stuff from `ftconfig.h'. 2020-07-05 10:42:23 +02:00
ftgloadr.h Remove redundant inclusion of `ft2build.h'. 2020-06-13 21:15:45 +02:00
fthash.h Remove redundant inclusion of `ft2build.h'. 2020-06-13 21:15:45 +02:00
ftmemory.h [build] Split off more stuff from `ftconfig.h'. 2020-07-05 10:42:23 +02:00
ftobjs.h [build] Split off more stuff from `ftconfig.h'. 2020-07-05 10:42:23 +02:00
ftpsprop.h Remove redundant inclusion of `ft2build.h'. 2020-06-13 21:15:45 +02:00
ftrfork.h Remove redundant inclusion of `ft2build.h'. 2020-06-13 21:15:45 +02:00
ftserv.h [build] Split off more stuff from `ftconfig.h'. 2020-07-05 10:42:23 +02:00
ftstream.h Make macros for header file names optional. 2020-06-08 13:31:55 +02:00
fttrace.h Update all copyright notices. 2020-01-19 17:05:19 +01:00
ftvalid.h [build] Split off more stuff from `ftconfig.h'. 2020-07-05 10:42:23 +02:00
psaux.h Remove redundant inclusion of `ft2build.h'. 2020-06-13 21:15:45 +02:00
pshints.h Remove redundant inclusion of `ft2build.h'. 2020-06-13 21:15:45 +02:00
sfnt.h Remove redundant inclusion of `ft2build.h'. 2020-06-13 21:15:45 +02:00
t1types.h Remove redundant inclusion of `ft2build.h'. 2020-06-13 21:15:45 +02:00
tttypes.h Remove redundant inclusion of `ft2build.h'. 2020-06-13 21:15:45 +02:00
wofftypes.h Remove redundant inclusion of `ft2build.h'. 2020-06-13 21:15:45 +02:00