Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
A distraction, the SIMIX_process_create() function takes only six parameters.
[simgrid.git] / src / xbt / mallocator_private.h
1 #ifndef _XBT_DICT_PRIVATE_H__
2 #define _XBT_DICT_PRIVATE_H__
3
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 */
11 } s_xbt_mallocator_t;
12
13 #endif