Branch: Tag:

2001-02-05

2001-02-05 11:47:48 by Per Hedbor <ph@opera.com>

Added _m_delete, it's now possible to overload the m_delete() function in 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 11:47:47 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;