[Xcb-commit] atom

Bart Massey bart at kemper.freedesktop.org
Thu May 21 10:44:55 PDT 2009


 atom/xcb_atom.h.m4 |    8 ++++++++
 1 file changed, 8 insertions(+)

New commits:
commit 5ff736d3edee47bdb9d9a7431fe09e6776c33803
Author: Bart Massey <bart at cs.pdx.edu>
Date:   Thu May 21 10:44:47 2009 -0700

    wrapped xcb_atom.h for C++ per bug report of <comick at autistici.org>

diff --git a/atom/xcb_atom.h.m4 b/atom/xcb_atom.h.m4
index 7eb44cd..3579211 100644
--- a/atom/xcb_atom.h.m4
+++ b/atom/xcb_atom.h.m4
@@ -3,6 +3,10 @@
 
 #include <xcb/xcb.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 enum xcb_atom_fast_tag_t {
 	TAG_COOKIE,
 	TAG_VALUE
@@ -39,4 +43,8 @@ char *xcb_atom_name_unique(const char *base, uint32_t id);
 define(`DO', `extern const xcb_atom_t $1;')dnl
 include(atomlist.m4)`'dnl
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* __XCB_ATOM_H__ */


More information about the xcb-commit mailing list