New files implementing GSequence, a list implemented using a binary tree.
[platform/upstream/glib.git] / glib / gdebug.h
index dda0213..8e172b7 100644 (file)
 #ifndef __G_DEBUG_H__
 #define __G_DEBUG_H__
 
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS 
 
 typedef enum {
-  G_DEBUG_FATAL_WARNINGS = 1 << 0
+  G_DEBUG_FATAL_WARNINGS  = 1 << 0,
+  G_DEBUG_FATAL_CRITICALS = 1 << 1
 } GDebugFlag;
 
 
@@ -53,11 +52,8 @@ typedef enum {
 GLIB_VAR gboolean _g_debug_initialized;
 GLIB_VAR guint _g_debug_flags;
 
-void _g_debug_init () G_GNUC_INTERNAL;
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+void _g_debug_init (void) G_GNUC_INTERNAL;
 
+G_END_DECLS
 
 #endif /* __G_DEBUG_H__ */