summaryrefslogtreecommitdiff
path: root/amiga/object.c
diff options
context:
space:
mode:
Diffstat (limited to 'amiga/object.c')
-rwxr-xr-xamiga/object.c35
1 files changed, 0 insertions, 35 deletions
diff --git a/amiga/object.c b/amiga/object.c
index 2cfd5d020..32886fe89 100755
--- a/amiga/object.c
+++ b/amiga/object.c
@@ -43,7 +43,6 @@ struct nsObject *AddObject(struct MinList *objlist,ULONG otype)
AddTail((struct List *)objlist,(struct Node *)dtzo);
dtzo->Type = otype;
-// dtzo->SubType = ostype;
return(dtzo);
}
@@ -63,45 +62,11 @@ void FreeObjList(struct MinList *objlist)
node = (struct nsObject *)objlist->mlh_Head;
-// for(node = objlist->mlh_Head ; node->dtz_Node.mln_Succ ; node = node->dtz_Node.mln_Succ)
-
while(nnode=(struct nsObject *)(node->dtz_Node.mln_Succ))
{
- printf("%lx next %lx node objtype %ld\n",node,nnode,node->Type);
DelObject(node);
node=nnode;
}
FreeVec(objlist);
}
-
-/*
-int main(int argc, char **argv)
-{
- struct MinList *ol;
- struct DTZObject *dtzo;
- struct DTZObject *tobj;
-
- ol = NewObjList();
-
-
- tobj = AddObject(ol);
-
- tobj->Data = 6;
-
- dtzo = AddObject(ol);
-
- dtzo->Data = 7;
-
-// tobj = (struct DTZObject *)ol->mlh_Head;
-
-// tobj = ol->dtz_Node.mln_Succ;
-
-// printf("%ld\n",tobj->Data);
-
- FreeObjList(ol);
-
- return(0);
-}
-
-*/