Branch: Tag:

2000-09-24

2000-09-24 15:20:14 by Henrik Grubbström (Grubba) <grubba@grubba.org>

mapping_{indic,valu}es() now check the mapping for destructed objects.

Rev: src/mapping.c:1.107

5:   \*/   /**/   #include "global.h" - RCSID("$Id: mapping.c,v 1.106 2000/09/17 19:33:33 grubba Exp $"); + RCSID("$Id: mapping.c,v 1.107 2000/09/24 15:20:14 grubba Exp $");   #include "main.h"   #include "object.h"   #include "mapping.h"
1144:    fatal("Zero refs in mapping->data\n");   #endif    +  check_mapping_for_destruct(m); +     a=allocate_array(m->data->size);    s=ITEM(a);   
1171:    fatal("Zero refs in mapping->data\n");   #endif    +  check_mapping_for_destruct(m); +     a=allocate_array(m->data->size);    s=ITEM(a);