freetype2/include/freetype/internal
Priyesh Kumar d46bada285 [base] Add functions and variables to print logs to a file.
* include/freetype/internal/ftdebug.h: Added dlg's header files.
(FT_LOG): New macro to redirect trace logs to dlg's API's whenever
`FT_LOGGING' is defined.
(ft_logging_init, ft_logging_deinit): New functions to handle
initialization and uninitialization of logging related variables.
(ft_log_handler): New function to handle logs of FreeType.

* src/base/ftdebug.c: Add necessary logging related variables.
(ft_logging_init, ft_logging_deinit, ft_log_handler): Add function
definitions.

* src/base/ftinit.c (FT_Init_FreeType) [FT_LOGGING]: Call
`ft_logging_init`.
(FT_Done_FreeType) [FT_LOGGING]: Call `ft_logging_deinit`.

* src/base/ftobjs.c (FT_New_Library): Call `ft_debug_init` only if
`FT_LOGGING` is not defined.
2020-12-01 09:25:39 +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 functions and variables to print logs to a file. 2020-12-01 09:25:39 +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