summaryrefslogtreecommitdiff
path: root/gobject/genums.h
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2001-03-09 21:39:51 +0000
committerTor Lillqvist <tml@src.gnome.org>2001-03-09 21:39:51 +0000
commit137d3248c7ecbd8a012c623c9c5c7cd93ace6808 (patch)
treedecef73c4b662c79b0a9333bd4e7136a62f0cbdc /gobject/genums.h
parent8dd860987015d6be46bccab82ba00f03140f0396 (diff)
Use G_BEGIN_DECLS and G_END_DECLS.
2001-02-21 Tor Lillqvist <tml@iki.fi> * *.h: Use G_BEGIN_DECLS and G_END_DECLS. * Makefile.am: Use libglib-1.3.la from top_builddir. Invoke libtool with -no-undefined for Win32 and Cygwin.
Diffstat (limited to 'gobject/genums.h')
-rw-r--r--gobject/genums.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/gobject/genums.h b/gobject/genums.h
index bd1ea6ef6..699d4bd5f 100644
--- a/gobject/genums.h
+++ b/gobject/genums.h
@@ -21,11 +21,7 @@
#include <gobject/gtype.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
+G_BEGIN_DECLS
/* --- type macros --- */
#define G_TYPE_IS_ENUM(type) (G_TYPE_FUNDAMENTAL (type) == G_TYPE_ENUM)
@@ -118,10 +114,6 @@ void g_flags_complete_type_info (GType g_flags_type,
GTypeInfo *info,
const GFlagsValue *const_values);
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __G_ENUMS_H__ */