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.47 2003/01/10 12:49:03 grubba Exp $ + || $Id: mapping.h,v 1.48 2003/01/11 00:01:20 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:166:    struct svalue *key );   void check_mapping(struct mapping *m);   void check_all_mappings(void);   void gc_mark_mapping_as_referenced(struct mapping *m);   void real_gc_cycle_check_mapping(struct mapping *m, int weak);   unsigned gc_touch_all_mappings(void);   void gc_check_all_mappings(void);   void gc_mark_all_mappings(void);   void gc_cycle_check_all_mappings(void);   void gc_zap_ext_weak_refs_in_mappings(void); - void gc_free_all_unreferenced_mappings(void); + size_t gc_free_all_unreferenced_mappings(void);   void simple_describe_mapping(struct mapping *m);   void debug_dump_mapping(struct mapping *m);   void zap_all_mappings(void);   int mapping_is_constant(struct mapping *m,    struct processing *p);   /* Prototypes end here */      #define allocate_mapping(X) dmalloc_touch(struct mapping *,debug_allocate_mapping(X))      #define gc_cycle_check_mapping(X, WEAK) \    gc_cycle_enqueue((gc_cycle_check_cb *) real_gc_cycle_check_mapping, (X), (WEAK))      #endif /* MAPPING_H */