LibTMJ
1.0.0
A library for loading JSON Tiled maps
|
Go to the source code of this file.
Macros | |
#define | LOGMSG_BUFSIZE 1024 |
Functions | |
void | tmj_log_regcb (bool debug, void(*callback)(tmj_log_priority, const char *)) |
Registers a callback function to handle logging events. More... | |
void | logmsg (tmj_log_priority priority, char *msg,...) |
Processes log messages and passes them to the active logging callback, if there is one. More... | |
Variables | |
bool | log_debug = false |
void(* | log_callback )(tmj_log_priority, const char *) = NULL |
char | logmsg_buf [LOGMSG_BUFSIZE] |
Statically-allocated memory to hold log messages which are passed to the logging callback. More... | |
void(* log_callback) (tmj_log_priority, const char *) | ( | tmj_log_priority | , |
const char * | |||
) | = NULL |