Ignore:
Timestamp:
Jan 16, 2007, 8:31:25 PM (19 years ago)
Author:
cinc
Message:

Improvements to the GC interface and some more stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/nom/include/nomtk.h

    r190 r193  
    9696
    9797/* Debug function */
     98//#define METHOD_DEBUG
     99
     100#ifdef METHOD_DEBUG
     101#define NOMMethodDebug(a) g_message("Line %d: class %s, entering  %s", __LINE__, a, __FUNCTION__)
     102#define TST_OBJECT(a)  if(!nomIsObj(a)){ \
     103                       g_message("Line %d: in %s given object (0x%x) is NO NOMObject",\
     104                       __LINE__, __FUNCTION__, (UINT)a);\
     105                       }else{ \
     106                       g_message("Line %d: in %s given object (0x%x) is NOMObject, class: %s", \
     107                       __LINE__, __FUNCTION__, (UINT)a, ((PNOMObject)a)->mtab->nomClassName);}
     108#else
     109#define NOMMethodDebug(a)
     110#define TST_OBJECT(a)
     111#endif
     112
    98113void _dumpClassDataStruct(nomClassDataStructure* cds, ULONG ulNumMethods);
    99114void _dumpSci(nomStaticClassInfo* sci);
Note: See TracChangeset for help on using the changeset viewer.