[glib] gbytes: Add G_BEGIN/END_DECL guards



commit eafb108cafe257645fc0d16a16ac2764afed6d5a
Author: Christian Persch <chpe gnome org>
Date:   Wed Feb 15 15:25:47 2012 +0100

    gbytes: Add G_BEGIN/END_DECL guards
    
    Bug #670138.

 glib/gbytes.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/glib/gbytes.h b/glib/gbytes.h
index 3532328..a120e21 100644
--- a/glib/gbytes.h
+++ b/glib/gbytes.h
@@ -27,6 +27,8 @@
 #include <glib/gtypes.h>
 #include <glib/garray.h>
 
+G_BEGIN_DECLS
+
 GBytes *        g_bytes_new                     (gconstpointer   data,
                                                  gsize           size);
 
@@ -67,4 +69,6 @@ gboolean        g_bytes_equal                   (gconstpointer   bytes1,
 gint            g_bytes_compare                 (gconstpointer   bytes1,
                                                  gconstpointer   bytes2);
 
+G_END_DECLS
+
 #endif /* __G_BYTES_H__ */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]