summaryrefslogtreecommitdiff
path: root/gobject/gvaluetypes.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/gvaluetypes.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/gvaluetypes.h')
-rw-r--r--gobject/gvaluetypes.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/gobject/gvaluetypes.h b/gobject/gvaluetypes.h
index 557ca2343..5b1910cb7 100644
--- a/gobject/gvaluetypes.h
+++ b/gobject/gvaluetypes.h
@@ -24,11 +24,7 @@
#include <gobject/gvalue.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
+G_BEGIN_DECLS
/* --- type macros --- */
#define G_VALUE_HOLDS_CHAR(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_CHAR))
@@ -89,8 +85,6 @@ void g_value_set_string_take_ownership (GValue *value,
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __G_VALUETYPES_H__ */