[glib] gutils: move G_END_DECLS to the end of gutils.h
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] gutils: move G_END_DECLS to the end of gutils.h
- Date: Mon, 31 Dec 2012 21:12:50 +0000 (UTC)
commit 0d3da350c608483a12c89334638317d57449e968
Author: Michael Henning <drawoc darkrefraction com>
Date: Sat Dec 29 23:57:23 2012 -0500
gutils: move G_END_DECLS to the end of gutils.h
Previously, some declarations near the bottom came after the
G_END_DECLS, causing linker errors for C++ users that called those
functions.
https://bugzilla.gnome.org/show_bug.cgi?id=690902
glib/gutils.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/glib/gutils.h b/glib/gutils.h
index 15f1ed9..8102f53 100644
--- a/glib/gutils.h
+++ b/glib/gutils.h
@@ -307,8 +307,6 @@ g_bit_storage (gulong number)
}
#endif /* G_CAN_INLINE || __G_UTILS_C__ */
-G_END_DECLS
-
#ifndef G_DISABLE_DEPRECATED
/*
@@ -372,4 +370,6 @@ const gchar *g_get_tmp_dir_utf8 (void);
gchar *g_find_program_in_path_utf8 (const gchar *program);
#endif
+G_END_DECLS
+
#endif /* __G_UTILS_H__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]