diff options
Diffstat (limited to 'collection/elapi_debug.h')
| -rw-r--r-- | collection/elapi_debug.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/collection/elapi_debug.h b/collection/elapi_debug.h index 3da0685..5f2c174 100644 --- a/collection/elapi_debug.h +++ b/collection/elapi_debug.h @@ -31,5 +31,14 @@ #define DEBUG_ASSERT(expression) ; #endif +#ifdef ELAPI_LOG_DEBUG +#ifdef ELAPI_TOOLS_H +#define DEBUG_COLLECTION(collection) debug_collection(collection,ELAPI_TRAVERSE_DEFAULT); +#else +#define DEBUG_COLLECTION(collection) ; +#endif +#else +#define DEBUG_COLLECTION(collection) ; +#endif #endif |
