pike.git
/
src
/
mapping.h
version
»
Context lines:
10
20
40
80
file
none
3
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.
31
2000/
09
/
03
23:
16:22
mast Exp $
+
* $Id: mapping.h,v 1.
32
2000/
12
/
14
07:
23:
04
mast 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:30:
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
stealth_check_mapping_for_destruct
and
-
*
gc
_recurse_weak_mapping
. */
+
/* This debug doesn't work with
weak
mappings
in
the
gc. */
struct mapping { INT32 refs; #ifdef PIKE_SECURITY struct object *prot; #endif #ifdef MAPPING_SIZE_DEBUG INT32 debug_size; #endif