summaryrefslogtreecommitdiff
path: root/glib/gbsearcharray.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 /glib/gbsearcharray.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 'glib/gbsearcharray.h')
-rw-r--r--glib/gbsearcharray.h13
1 files changed, 2 insertions, 11 deletions
diff --git a/glib/gbsearcharray.h b/glib/gbsearcharray.h
index 1bc0ab21e..dc23ffd20 100644
--- a/glib/gbsearcharray.h
+++ b/glib/gbsearcharray.h
@@ -23,11 +23,7 @@
#include <gobject/gtype.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
+G_BEGIN_DECLS
/* helper macro to avoid signed overflow for value comparisions */
#define G_BSEARCH_ARRAY_CMP(v1,v2) ((v1) < (v2) ? -1 : (v1) > (v2) ? 1 : 0)
@@ -138,11 +134,6 @@ g_bsearch_array_get_index (GBSearchArray *barray,
}
#endif /* G_CAN_INLINE || __G_BSEARCHARRAY_C__ */
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __G_BSEARCH_ARRAY_H__ */