1 #ifndef _XBT_DICT_PRIVATE_H__
2 #define _XBT_DICT_PRIVATE_H__
4 typedef struct s_xbt_mallocator {
5 int current_size; /* number of objects currently stored */
6 void **objects; /* objects stored by the mallocator and available for the user */
7 int max_size; /* maximum number of objects */
8 pvoid_f_void_t *new_f; /* function to call when we are running out of objects */
9 void_f_pvoid_t *free_f; /* function to call when we have got too many objects */
10 void_f_pvoid_t *reset_f; /* function to call when an object is released by the user */