Branch: Tag:

2001-02-05

2001-02-05 12:04:45 by Per Hedbor <ph@opera.com>

Added _m_delete overloading for faking mappings with objects

Rev: src/builtin.cmod:1.17
Rev: src/program.c:1.290
Rev: src/program.h:1.114

5:   \*/   /**/   #include "global.h" - RCSID("$Id: program.c,v 1.289 2000/12/16 19:05:54 mast Exp $"); + RCSID("$Id: program.c,v 1.290 2001/02/05 12:04:44 per Exp $");   #include "program.h"   #include "object.h"   #include "dynamic_buffer.h"
123:    "_is_type",    "_sprintf",    "_equal", +  "_m_delte",   };      /* mapping(string:type) */
171:    tFuncV(tStr,tVoid,tInt), /* "_is_type", */    tFuncV(tInt tOr(tMap(tStr,tInt),tVoid),tVoid,tStr), /* "_sprintf", */    tFuncV(tMix,tVoid,tInt), /* "_equal", */ +  tFuncV(tMix,tVoid,tMix), /* "_m_delete", */   };      struct program *first_program = 0;