#include "list.h"
#include "string.h"
-int mood_compute_score(const void *row, long *score);
-
static void *score_table;
static int ptr_compare(const struct osl_object *obj1, const struct osl_object *obj2)
obj.size = sizeof(long);
obj.data = para_malloc(obj.size);
*(long *)obj.data = new_score;
- PARA_NOTICE_LOG("new score: %ld, position: %u/%u\n", new_score,
+ PARA_DEBUG_LOG("new score: %ld, position: %u/%u\n", new_score,
new_pos, n);
return osl_update_object(score_table, row, SCORECOL_SCORE, &obj);
}
void score_shutdown(enum osl_close_flags flags)
{
osl_close_table(score_table, flags | OSL_FREE_VOLATILE);
+ score_table = NULL;
}
/**