Ignore:
Timestamp:
Jun 10, 2001, 11:19:58 AM (24 years ago)
Author:
sandervl
Message:

bugfixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/gen_object.cpp

    r5935 r5950  
    1 /* $Id: gen_object.cpp,v 1.8 2001-06-09 14:50:17 sandervl Exp $ */
     1/* $Id: gen_object.cpp,v 1.9 2001-06-10 09:19:57 sandervl Exp $ */
    22/*
    33 * Generic Object Class for OS/2
     
    8888//******************************************************************************
    8989//******************************************************************************
     90#ifdef DEBUG
     91LONG GenericObject::addRef()
     92{
     93  dprintf(("addRef %x -> refcount %x", this, refCount));
     94  return InterlockedIncrement(&refCount);
     95}
     96#endif
     97//******************************************************************************
     98//******************************************************************************
    9099LONG GenericObject::release()
    91100{
    92 ////  dprintf(("release -> refcount %x", refCount));
     101  dprintf(("release %x -> refcount %x", this, refCount));
    93102#ifdef DEBUG
    94103  if(refCount-1 < 0) {
Note: See TracChangeset for help on using the changeset viewer.