46 void importlogger(jm_callbacks* 
c, jm_string module, jm_log_level_enu_t log_level, jm_string message)
 
   49        printf(
"module = %s, log level = %d: %s\n", module, log_level, message);
 
   54         callbacks->malloc = malloc;
 
   55         callbacks->calloc = calloc;
 
   56         callbacks->realloc = realloc;
 
   57         callbacks->free = free;
 
   59         callbacks->log_level = jm_log_level_debug;
 
   60         callbacks->context = 0;
 
   61         printf(
"Callback Setup Done! \n");
 
   65         int length = strlen(location);
 
   68         for (i=length; i>0; i--){
 
   74         std::string destination(location);
 
   76         destination.resize(i+1);
 
   77         return destination.c_str();
 
void setup_callbacks(jm_callbacks *callbacks)
std::string UncompressLocation(const char *location)
void importlogger(jm_callbacks *c, jm_string module, jm_log_level_enu_t log_level, jm_string message)
static std::stack< cleanup * > c