pike.git / src / mapping.h

version» Context lines:

pike.git/src/mapping.h:16:    struct keypair **hash;    struct keypair *free_list;   };      extern struct mapping *first_mapping;      #define m_sizeof(m) ((m)->size)   #define m_ind_types(m) ((m)->ind_types)   #define m_val_types(m) ((m)->val_types)    - #define free_mapping(M) do{ struct mapping *m_=(M); if(!--m_->refs) really_free_mapping(m_); }while(0) + #define free_mapping(M) do{ struct mapping *m_=(M); debug_malloc_touch(m_); if(!--m_->refs) really_free_mapping(m_); }while(0)      /* Prototypes begin here */   struct keypair;   struct mapping *allocate_mapping(int size);   void really_free_mapping(struct mapping *m);   void mapping_fix_type_field(struct mapping *m);   void mapping_insert(struct mapping *m,    struct svalue *key,    struct svalue *val);   union anything *mapping_get_item_ptr(struct mapping *m,