Changeset 5964 for trunk/src/user32/gen_object.cpp
- Timestamp:
- Jun 11, 2001, 4:37:46 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/gen_object.cpp
r5951 r5964 1 /* $Id: gen_object.cpp,v 1.1 0 2001-06-10 12:05:38sandervl Exp $ */1 /* $Id: gen_object.cpp,v 1.11 2001-06-11 14:37:46 sandervl Exp $ */ 2 2 /* 3 3 * Generic Object Class for OS/2 … … 91 91 LONG GenericObject::addRef() 92 92 { 93 //// dprintf(("addRef %x -> refcount %x", this, refCount));93 dprintf2(("addRef %x -> refcount %x", this, refCount+1)); 94 94 return InterlockedIncrement(&refCount); 95 95 } … … 99 99 LONG GenericObject::release() 100 100 { 101 //// dprintf(("release %x -> refcount %x", this, refCount));101 dprintf2(("release %x -> refcount %x", this, refCount-1)); 102 102 #ifdef DEBUG 103 103 if(refCount-1 < 0) { … … 106 106 #endif 107 107 if(InterlockedDecrement(&refCount) == 0 && fDeletePending) { 108 dprintf2(("marked for deletion -> delete now")); 108 109 delete this; 109 110 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.