Sat, 09 Oct 2004 17:38:29 +0200
trunk: changeset 1813
Minor libextl related changes etc.
objp.h | file | annotate | diff | comparison | revisions | |
output.c | file | annotate | diff | comparison | revisions |
--- a/objp.h Sat Oct 09 13:01:37 2004 +0200 +++ b/objp.h Sat Oct 09 17:38:29 2004 +0200 @@ -29,7 +29,7 @@ void (*destroy_fn)(); }; -#define OBJ_TYPESTR(OBJ) (((Obj*)OBJ)->obj_type->name) +#define OBJ_TYPESTR(OBJ) ((OBJ) ? ((Obj*)OBJ)->obj_type->name : NULL) #define IMPLCLASS(CLS, ANCESTOR, DFN, DYN) \ ClassDescr CLASSDESCR(CLS)={ \