[seed] Add a SEED_DEBUG_MODULE flag



commit 9bddb620e5d2bcf9e14fb397ff3267aef510cac4
Author: Robert Carr <racarr svn gnome org>
Date:   Tue May 26 02:37:17 2009 -0400

    Add a SEED_DEBUG_MODULE flag
---
 libseed/Makefile.am   |    2 +-
 libseed/seed-debug.h  |    3 ++-
 libseed/seed-engine.c |    3 ++-
 3 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/libseed/Makefile.am b/libseed/Makefile.am
index 209bf3a..a8a86bf 100644
--- a/libseed/Makefile.am
+++ b/libseed/Makefile.am
@@ -41,7 +41,7 @@ libseed_la_LDFLAGS = \
         $(SEED_OSX_LIBS) \
         $(FFI_LDFLAGS)
 
-seedheaders_HEADERS = seed.h
+seedheaders_HEADERS = seed.h seed-debug.h
 
 seedheadersdir = $(pkgincludedir)
 
diff --git a/libseed/seed-debug.h b/libseed/seed-debug.h
index d9bd286..2db38f9 100644
--- a/libseed/seed-debug.h
+++ b/libseed/seed-debug.h
@@ -37,7 +37,8 @@ typedef enum
   SEED_DEBUG_SIGNAL = 1 << 6,
   SEED_DEBUG_STRUCTS = 1 << 7,
   SEED_DEBUG_GTYPE = 1 << 8,
-  SEED_DEBUG_IMPORTER = 1 << 9
+  SEED_DEBUG_IMPORTER = 1 << 9,
+  SEED_DEBUG_MODULE = 1 << 10
 } SeedDebugFlag;
 
 #ifdef SEED_ENABLE_DEBUG
diff --git a/libseed/seed-engine.c b/libseed/seed-engine.c
index 42a3479..d4c1d73 100644
--- a/libseed/seed-engine.c
+++ b/libseed/seed-engine.c
@@ -54,7 +54,8 @@ static const GDebugKey seed_debug_keys[] = {
   {"structs", SEED_DEBUG_STRUCTS},
   {"construction", SEED_DEBUG_CONSTRUCTION},
   {"gtype", SEED_DEBUG_GTYPE},
-  {"importer", SEED_DEBUG_IMPORTER}
+  {"importer", SEED_DEBUG_IMPORTER},
+  {"module", SEED_DEBUG_MODULE}
 };
 #endif /* SEED_ENABLE_DEBUG */
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]