30 #define DISABLE_DEBUGLOG
32 #include "inherit_p.h"
33 #include <gwenhywfar/misc.h>
34 #include <gwenhywfar/debug.h>
35 #include <gwenhywfar/gwenhywfarapi.h>
55 d->typeName=strdup(t);
59 d->freeDataFn=freeDataFn;
62 "Created inheritance for type \"%s\" (%08x)", t,
id);
71 d->freeDataFn(d->baseData, d->data);
83 "Freeing data for type \"%s\"",
86 d->freeDataFn(d->baseData, d->data);
126 return d->freeDataFn;
139 for (i=0; i<j; i++) {
144 c=((result>>24)&0xff);
146 result^=(
unsigned char)(typeName[i]);
150 "Id for type \"%s\" is \"%08x\"",
165 "Searching for inheritance id \"%08x\"",
id);
166 ih=GWEN_InheritData_List_First(l);
169 "Checking type \"%s\" (%08x) against %08x",
170 ih->typeName, ih->id,
id);
173 ih=GWEN_InheritData_List_Next(ih);
177 "Type \"%08x\" not derived from this base type",
id);
192 ih=GWEN_InheritData_List_First(l);
195 ih->typeName, ih->id,
id);
198 ih=GWEN_InheritData_List_Next(ih);
202 "Type \"%08x\" not derived from this base type",
id);