pike.git / src / mapping.h

version» Context lines:

pike.git/src/mapping.h:10:      struct mapping   {    INT32 refs, size, hashsize;    TYPE_FIELD ind_types, val_types;    struct mapping *next, *prev;    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)      /* Prototypes begin here */   struct keypair;   struct mapping *allocate_mapping(int size);   void really_free_mapping(struct mapping *m);