pike.git / src / mapping.h

version» Context lines:

pike.git/src/mapping.h:20:      struct keypair   {    struct keypair *next;    size_t hval;    struct svalue ind, val;   };      struct mapping_data   { -  INT32 refs; +  GC_MARKER_MEMBERS;    INT32 valrefs; /* lock values too */ -  struct marker m; +     INT32 hardlinks;    INT32 size, hashsize;    INT32 num_keypairs;    TYPE_FIELD ind_types, val_types;    INT16 flags;    struct keypair *free_list;    struct keypair *hash[1 /* hashsize */ ];    /* struct keypair data_block[ hashsize * AVG_LINK_LENGTH ] */   };      #undef MAPPING_SIZE_DEBUG   /* This debug doesn't work with weak mappings in the gc. */      struct mapping   { -  INT32 refs; -  INT32 ___fill_to_marker; /* Fill 32 bit to marker (32 bit systems do -  * not pad as required). */ -  struct marker m; +  GC_MARKER_MEMBERS;   #ifdef MAPPING_SIZE_DEBUG    INT32 debug_size;   #endif    struct mapping_data *data;    struct mapping *next, *prev;   };         extern struct mapping *first_mapping;   extern struct mapping *gc_internal_mapping;