pike.git / src / mapping.h

version» Context lines:

pike.git/src/mapping.h:80:   #define NEW_MAPPING_LOOP(md) \    for(((k = MD_KEYPAIRS(md, (md)->hashsize)), e=0) DO_IF_DMALLOC( ?0:(debug_malloc_touch(md)) ) ; e<(md)->size; e++,k++)      /* WARNING: this should not be used */   #define MAPPING_LOOP(m) \    for(((k = MD_KEYPAIRS((m)->data, (m)->data->hashsize)), e=0) DO_IF_DMALLOC( ?0:(debug_malloc_touch(m),debug_malloc_touch((m)->data)) ) ; e<(m)->data->size; e++,k++)      #endif /* PIKE_MAPPING_KEYPAIR_LOOP */       - void really_free_mapping(struct mapping *md); + PMOD_EXPORT void really_free_mapping(struct mapping *md);      #define inl_free_mapping(M) do{ \    struct mapping *m_=(M); \    debug_malloc_touch(m_); \    DO_IF_DEBUG ( \    DO_IF_PIKE_CLEANUP ( \    if (gc_external_refs_zapped) \    gc_check_zapped (m_, PIKE_T_MAPPING, __FILE__, __LINE__))); \    if(!sub_ref(m_)) \    really_free_mapping(m_); \
pike.git/src/mapping.h:133:   }while(0)      /* Prototypes begin here */   BLOCK_ALLOC_FILL_PAGES(mapping, 2);                   + void mapping_free_keypair(struct mapping_data *md, struct keypair *k); +    PMOD_EXPORT struct mapping *debug_allocate_mapping(int size);      /** Function that actually frees the mapping data, called by the wrapper    * macro free_mapping_data.    *    * @param M The mapping structure data member of the mapping whose data is to be removed    * @see free_mapping    * @see really_free_mapping_data    * @see mapping_data    * @see mapping