Branch: Tag:

2002-08-15

2002-08-15 17:43:25 by Marcus Comstedt <marcus@mc.pp.se>

Fixed segfault problem with generic_error class, and added a constructor.

Rev: src/error.c:1.87
Rev: src/errors.h:1.20

79:    ERR_FUNC("describe",f_error_describe,tFunc(tVoid,tString),0)    ERR_FUNC("backtrace",f_error_backtrace,tFunc(tVoid,tArr(tMixed)),0)    ERR_FUNC("_sprintf",f_error__sprintf,tFunc(tNone,tString),0) +  ERR_FUNC("create",f_error_create,tFunc(tStr,tVoid),ID_STATIC)   )      #define GENERIC_ERROR_THIS ((struct generic_error_struct *)CURRENT_STORAGE)