aboutsummaryrefslogblamecommitdiffstats
path: root/src/lib/eo/eo_ptr_indirection.c
blob: ee559014f3510e4a23b27cf2126c238a0004bfa8 (plain) (tree)
1
2
3
4
5
6
7
8
9
10




                               

                                          
                                                            

                                                  
                                     
 
                       
                                   
 
                                                                       
                                              
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif

#include "eo_ptr_indirection.h"

/* Tables handling pointers indirection */
_Eo_Ids_Table **_eo_ids_tables[MAX_MID_TABLE_ID] = { NULL };

/* Current table used for following allocations */
_Eo_Ids_Table *_current_table = NULL;

/* Spare empty table */
_Eo_Ids_Table *_empty_table = NULL;

/* Next generation to use when assigning a new entry to a Eo pointer */
Generation_Counter _eo_generation_counter = 0;