summaryrefslogtreecommitdiff
path: root/atom
diff options
context:
space:
mode:
authorBart Massey <bart@cs.pdx.edu>2009-05-21 10:44:47 -0700
committerBart Massey <bart@cs.pdx.edu>2009-05-21 10:44:47 -0700
commit5ff736d3edee47bdb9d9a7431fe09e6776c33803 (patch)
treeb458a9601d8c60b855279f564a18f1dd277ecb97 /atom
parentb53c9c951dfd85f4b79683172213a7ac36ff81fe (diff)
wrapped xcb_atom.h for C++ per bug report of <comick@autistici.org>
Diffstat (limited to 'atom')
-rw-r--r--atom/xcb_atom.h.m48
1 files changed, 8 insertions, 0 deletions
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__ */