typedef void(* | OilDebugPrintFunc |
OilDebugLevel:
Enumeration describing debug levels in Liboil.
Enumerator | Value | Description |
---|---|---|
OIL_DEBUG_NONE | 0 | |
OIL_DEBUG_ERROR | ||
OIL_DEBUG_WARNING | ||
OIL_DEBUG_INFO | ||
OIL_DEBUG_DEBUG | ||
OIL_DEBUG_LOG |
OIL_FUNCTION:
Internal macro that points to __PRETTY_FUNCTION__ or __func__ if the former is not available.
OIL_DEBUG_PRINT: : @...:
Macro to call oil_debug_print() with the correct values for the name of the source file, line of source file, and function.
IMPORT_C void | oil_debug_set_print_function | ( | OilDebugPrintFunc | func | ) |
oil_debug_set_print_function: :
Sets the function to call when outputting debugging information. A value of NULL for will restore the default handler, which prints debugging information to stderr.