pike.git
/
src
/
mapping.h
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/mapping.h:1:
/* || This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information.
-
|| $Id: mapping.h,v 1.
45
2002/
10
/
20
23
:
42
:
54
marcus
Exp $
+
|| $Id: mapping.h,v 1.
46
2002/
11
/
25
00
:
20
:
47
mast
Exp $
*/ #ifndef MAPPING_H #define MAPPING_H #include "las.h" #include "block_alloc_h.h" /* Compatible with PIKE_WEAK_INDICES and PIKE_WEAK_VALUES. */ #define MAPPING_WEAK_INDICES 2
pike.git/src/mapping.h:84:
#define free_mapping_data(M) do{ \ struct mapping_data *md_=(M); \ debug_malloc_touch(md_); \ if(!sub_ref(md_)) really_free_mapping_data(md_); \ /* FIXME: What about valrefs & hardlinks? */ \ }while(0) PMOD_PROTO void really_free_mapping(struct mapping *md); /* Prototypes begin here */
-
BLOCK_ALLOC(mapping,
511
)
+
BLOCK_ALLOC
_FILL_PAGES
(mapping,
2
)
PMOD_EXPORT struct mapping *debug_allocate_mapping(int size); PMOD_EXPORT void really_free_mapping_data(struct mapping_data *md); PMOD_EXPORT void do_free_mapping(struct mapping *m); struct mapping_data *copy_mapping_data(struct mapping_data *md);