summaryrefslogtreecommitdiffstats
path: root/include/rofi-types.h
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-11-20 22:50:58 +0100
committerDave Davenport <qball@gmpclient.org>2017-11-20 22:50:58 +0100
commit35304e705d3a13eca9655be5fb14cdff10cb9862 (patch)
tree4a8e81b8011357bdc2c25159ce5f1ce201112bc7 /include/rofi-types.h
parent974b4825008f477f231e7c702febc20a361f1fc2 (diff)
[Plugin] Add C++ #ifdefs to public header files.
Diffstat (limited to 'include/rofi-types.h')
-rw-r--r--include/rofi-types.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/rofi-types.h b/include/rofi-types.h
index bcde8f19..69b9cd76 100644
--- a/include/rofi-types.h
+++ b/include/rofi-types.h
@@ -1,5 +1,9 @@
#ifndef INCLUDE_ROFI_TYPES_H
#define INCLUDE_ROFI_TYPES_H
+#ifdef __cplusplus
+extern "C"
+{
+#endif
#include <glib.h>
@@ -234,4 +238,7 @@ typedef struct rofi_int_matcher_t
gboolean invert;
} rofi_int_matcher;
+#ifdef __cplusplus
+}
+#endif
#endif // INCLUDE_ROFI_TYPES_H