pike.git / src / mapping.h

version» Context lines:

pike.git/src/mapping.h:1:   /*\   ||| This file a part of Pike, and is copyright by Fredrik Hubinette   ||| Pike is distributed as GPL (General Public License)   ||| See the files COPYING and DISCLAIMER for more information.   \*/      /* -  * $Id: mapping.h,v 1.20 2000/02/01 23:51:48 hubbe Exp $ +  * $Id: mapping.h,v 1.21 2000/02/09 07:29:38 hubbe Exp $    */   #ifndef MAPPING_H   #define MAPPING_H      #include "las.h"   #include "block_alloc_h.h"      #define MAPPING_FLAG_WEAK 1      struct keypair
pike.git/src/mapping.h:34:    struct keypair *hash[1 /* hashsize */ ];    /* struct keypair data_block[ hashsize * AVG_LINK_LENGTH ] */   };      struct mapping   {    INT32 refs;   #ifdef PIKE_SECURITY    struct object *prot;   #endif + #ifdef PIKE_DEBUG +  INT32 size; + #endif    INT16 flags;    struct mapping_data *data;    struct mapping *next, *prev;   };         extern struct mapping *first_mapping;      #define map_delete(m,key) map_delete_no_free(m, key, 0)   #define m_sizeof(m) ((m)->data->size)