Branch: Tag:

2000-01-31

2000-01-31 21:27:00 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

more debug..

Rev: src/mapping.c:1.55
Rev: src/mapping.h:1.18

5:   \*/      /* -  * $Id: mapping.h,v 1.17 2000/01/27 23:18:25 hubbe Exp $ +  * $Id: mapping.h,v 1.18 2000/01/31 21:27:00 hubbe Exp $    */   #ifndef MAPPING_H   #define MAPPING_H
64:   #define free_mapping_data(M) do{ struct mapping_data *md_=(M); debug_malloc_touch(md_); if(!--md_->refs) really_free_mapping_data(md_); }while(0)      /* Prototypes begin here */ - struct mapping *allocate_mapping(int size); + struct mapping *debug_allocate_mapping(int size);   void really_free_mapping(struct mapping *m);   void really_free_mapping_data(struct mapping_data *md);   void mapping_fix_type_field(struct mapping *m);
133:   struct mapping_data *copy_mapping_data(struct mapping_data *md);   /* Prototypes end here */   #endif +  + #define allocate_mapping(X) dmalloc_touch(struct mapping *,debug_allocate_mapping(X)) +