freetype2/include/freetype/internal
Priyesh Kumar 2a46d1f04e [base] Add public API to change log handling function.
* include/freetype/ftlogging.h (FT_Custom_Log_Handler): New function
typedef to store the custom callback logging function.
(FT_Set_Log_Handler, FT_Set_Default_Log_Handler): New functions to
set and reset custom log handler.

* include/freetype/internal/ftdebug.h (custom_output_handler): New
variable to support a custom callback logging function.
(FT_Logging_Callback): A new function typedef to print log using
custom callback logging function, which is set using
`FT_Set_Log_Handler`.
(FT_Log): Use it.

* src/base/ftdebug.c (FT_Set_Log_Handler,
FT_Set_Default_Log_Handler, FT_Logging_Callback): Add function
definitions.
2020-12-04 16:19:36 +01:00
..
services Make macros for header file names optional. 2020-06-08 13:31:55 +02:00
autohint.h Fix clang warnings. 2020-07-07 16:58:14 +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 Unbreak compilation. 2020-07-28 23:20:59 -04:00
ftcalc.h [build] Split off more stuff from `ftconfig.h'. 2020-07-05 10:42:23 +02:00
ftdebug.h [base] Add public API to change log handling function. 2020-12-04 16:19:36 +01: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 Fix clang warnings. 2020-07-07 16:58:14 +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