17 registry->Register(callback);
#define API_BEGIN()
macro to guard beginning and end section of all functions
logging facility for treelite
Error handling for C API.
int TreeliteRegisterLogCallback(void(*callback)(const char *))
register callback function for LOG(INFO) messages – helpful messages that are not errors...
C API of treelite, used for interfacing with other languages This header is used by both the runtime ...
#define API_END()
every function starts with API_BEGIN(); and finishes with API_END() or API_END_HANDLE_ERROR ...