fixed '+'/'-' markers in logging
authorkramm <kramm>
Tue, 30 Mar 2004 14:19:52 +0000 (14:19 +0000)
committerkramm <kramm>
Tue, 30 Mar 2004 14:19:52 +0000 (14:19 +0000)
lib/python/tag.c

index 23cf8f9..8ab17ca 100644 (file)
@@ -24,7 +24,7 @@ typedef struct {
 static void tag_dealloc(PyObject * self)
 {
     TagObject*tag = (TagObject*)self;
-    mylog(" %08x(%d) tag_dealoc\n", (int)self, self->ob_refcnt);
+    mylog("-%08x(%d) tag_dealoc\n", (int)self, self->ob_refcnt);
     if(tag->placeobject) {
        swf_PlaceObjectFree(tag->placeobject);
        tag->placeobject = 0;
@@ -368,7 +368,7 @@ TAG* tag_getTAG(PyObject*self, TAG*prevTag, PyObject*tagmap)
 
 PyObject* tag_getDependencies(PyObject*self)
 {
-    mylog("+%08x(%d) tag_getDependencies\n", (int)self, self->ob_refcnt);
+    mylog(" %08x(%d) tag_getDependencies\n", (int)self, self->ob_refcnt);
     TagObject*tag = (TagObject*)self;
     return tagmap_getObjectList(tag->tagmap);
 }