summaryrefslogtreecommitdiff
path: root/gobject/gparamspecs.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/gparamspecs.h
parent8dd860987015d6be46bccab82ba00f03140f0396 (diff)
downloadglib-137d3248c7ecbd8a012c623c9c5c7cd93ace6808.tar.gz
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/gparamspecs.h')
-rw-r--r--gobject/gparamspecs.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/gobject/gparamspecs.h b/gobject/gparamspecs.h
index ecfbf27c5..c4fffd3fb 100644
--- a/gobject/gparamspecs.h
+++ b/gobject/gparamspecs.h
@@ -27,11 +27,7 @@
#include <gobject/gboxed.h>
#include <gobject/gobject.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
+G_BEGIN_DECLS
/* --- type macros --- */
#define G_IS_PARAM_SPEC_CHAR(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_CHAR))
@@ -330,8 +326,6 @@ GParamSpec* g_param_spec_object (const gchar *name,
GParamFlags flags);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __G_PARAMSPECS_H__ */