diff options
author | Murray Cumming <murrayc@usa.net> | 2003-01-22 12:09:02 +0000 |
---|---|---|
committer | Murray Cumming <murrayc@src.gnome.org> | 2003-01-22 12:09:02 +0000 |
commit | 9164b181beab96f56883e013ed341f0de8d3046a (patch) | |
tree | c35f75c598459b0e7bc09ef395cfb885eda2d9b8 /glib/glibmm/debug.h | |
parent | b587a8b1814263c4977fe6b15a940f3203d8c8d0 (diff) | |
download | glibmm-9164b181beab96f56883e013ed341f0de8d3046a.tar.gz |
GTKMM_ m4 tests and #defines are now prefixed with GLIBMM_
2003-01-22 Murray Cumming <murrayc@usa.net>
* GTKMM_ m4 tests and #defines are now prefixed with GLIBMM_
Diffstat (limited to 'glib/glibmm/debug.h')
-rw-r--r-- | glib/glibmm/debug.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/glib/glibmm/debug.h b/glib/glibmm/debug.h index 0ece7f55..556b16f8 100644 --- a/glib/glibmm/debug.h +++ b/glib/glibmm/debug.h @@ -26,7 +26,7 @@ // Some stuff that's useful when debugging gtkmm internals: -#ifdef GTKMM_DEBUG_REFCOUNTING +#ifdef GLIBMM_DEBUG_REFCOUNTING #include <glib/gmessages.h> @@ -35,12 +35,12 @@ * right (i.e. concatenation with string literals isn't allowed). */ #ifdef __GNUC__ -#define GTKMM_GNUC_PRETTY_FUNCTION __PRETTY_FUNCTION__ +#define GLIBMM_GNUC_PRETTY_FUNCTION __PRETTY_FUNCTION__ #else -#define GTKMM_GNUC_PRETTY_FUNCTION "" +#define GLIBMM_GNUC_PRETTY_FUNCTION "" #endif -#define GTKMM_DEBUG_REFERENCE(cppInstance, cInstance) \ +#define GLIBMM_DEBUG_REFERENCE(cppInstance, cInstance) \ G_STMT_START{ \ void *const cppInstance__ = (void*) (cppInstance); \ void *const cInstance__ = (void*) (cInstance); \ @@ -50,14 +50,14 @@ "ref: C++ instance: %p; C instance: %p, ref_count = %u, type = %s\n", \ __FILE__, \ __LINE__, \ - GTKMM_GNUC_PRETTY_FUNCTION, \ + GLIBMM_GNUC_PRETTY_FUNCTION, \ cppInstance__, \ cInstance__, \ G_OBJECT(cInstance__)->ref_count, \ G_OBJECT_TYPE_NAME(cInstance__)); \ }G_STMT_END -#define GTKMM_DEBUG_UNREFERENCE(cppInstance, cInstance) \ +#define GLIBMM_DEBUG_UNREFERENCE(cppInstance, cInstance) \ G_STMT_START{ \ void *const cppInstance__ = (void*) (cppInstance); \ void *const cInstance__ = (void*) (cInstance); \ @@ -67,7 +67,7 @@ "unref: C++ instance: %p; C instance: %p, ref_count = %u, type = %s\n", \ __FILE__, \ __LINE__, \ - GTKMM_GNUC_PRETTY_FUNCTION, \ + GLIBMM_GNUC_PRETTY_FUNCTION, \ cppInstance__, \ cInstance__, \ G_OBJECT(cInstance__)->ref_count, \ @@ -76,10 +76,10 @@ #else -#define GTKMM_DEBUG_REFERENCE(cppInstance,cInstance) G_STMT_START{ (void)0; }G_STMT_END -#define GTKMM_DEBUG_UNREFERENCE(cppInstance,cInstance) G_STMT_START{ (void)0; }G_STMT_END +#define GLIBMM_DEBUG_REFERENCE(cppInstance,cInstance) G_STMT_START{ (void)0; }G_STMT_END +#define GLIBMM_DEBUG_UNREFERENCE(cppInstance,cInstance) G_STMT_START{ (void)0; }G_STMT_END -#endif /* GTKMM_DEBUG_REFCOUNTING */ +#endif /* GLIBMM_DEBUG_REFCOUNTING */ #endif /* _GLIBMM_DEBUG_H */ |