Fixed duplication of types.

This commit is contained in:
Pietro Gagliardi 2015-05-17 20:04:19 -04:00
parent 0019681b02
commit ad2c432c4a
3 changed files with 2 additions and 3 deletions

View File

@ -5,7 +5,6 @@ OUTDIR = out
OBJDIR = .obj
IDLFILES = \
ui.idl \
$(baseIDLFILES)
xHFILES = \

View File

@ -16,7 +16,8 @@ endif
include $(OS)/GNUmakeinc.mk
#baseIDLFILES = \
baseIDLFILES = \
ui.idl
# ui_$(OS).idl
baseHFILES = \

View File

@ -43,7 +43,6 @@ void *uiIsA(void *p, uintmax_t id, int fail)
if (compareTo == id)
return t;
ti = ptrArrayIndex(types, struct typeinfo *, compareTo);
printf("%d %d %d\n", (int)compareTo, (int)(ti->parent), (int)id);
if (ti->parent == 0)
break;
compareTo = ti->parent;