#include "dmalloc.h"
#endif
-
-
-
void exithandler(int sig, siginfo_t *info, void * uap) {
exit(0);
}
v->tid=0;
v->lockentry=0;
v->lockcount=0;
+#endif
+#ifdef OPTIONAL
+ v->fses=0;
#endif
return v;
}
v->tid=0;
v->lockentry=0;
v->lockcount=0;
+#endif
+#ifdef OPTIONAL
+ v->fses=0;
#endif
return v;
}
#else
void * allocate_new(int type) {
- void * v=FREEMALLOC(classsize[type]);
- *((int *)v)=type;
+ struct ___Object___ * v=FREEMALLOC(classsize[type]);
+ v->type=type;
+#ifdef OPTIONAL
+ v->fses=0;
+#endif
return v;
}
struct ArrayObject * v=FREEMALLOC(sizeof(struct ArrayObject)+length*classsize[type]);
v->type=type;
v->___length___=length;
+#ifdef OPTIONAL
+ v->fses=0;
+#endif
return v;
}
#endif