pike.git / src / mapping.h

version» Context lines:

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.59 2004/09/28 23:58:26 mast Exp $ + || $Id: mapping.h,v 1.60 2005/04/08 16:55:53 grubba Exp $   */      #ifndef MAPPING_H   #define MAPPING_H      #include "svalue.h"   #include "dmalloc.h"   #include "block_alloc_h.h"      /* Compatible with PIKE_WEAK_INDICES and PIKE_WEAK_VALUES. */
pike.git/src/mapping.h:101:   #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_FILL_PAGES(mapping, 2) + 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);