+ if(newid>=0) {
+ mylog(" %08x(%d) tag_getTAG: dependency %d) %d->%08x -> assigning(%08x) id %d", (int)self, self->ob_refcnt, i, id, obj, tagmap, newid);
+ } else {
+ /* TODO: this is only needed for sprites, so maybe it should throw an
+ exception otherwise */
+ newid = tagmap_add(tagmap, obj);
+ mylog(" %08x(%d) tag_getTAG: added dependency %d) %d->%08x -> assigning(%08x) id %d", (int)self, self->ob_refcnt, i, id, obj, tagmap, newid);