summaryrefslogtreecommitdiffstats
path: root/include/helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/helper.h')
-rw-r--r--include/helper.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/helper.h b/include/helper.h
index 715079e9..35d28cf1 100644
--- a/include/helper.h
+++ b/include/helper.h
@@ -27,7 +27,10 @@
#ifndef ROFI_HELPER_H
#define ROFI_HELPER_H
-
+#ifdef __cplusplus
+extern "C"
+{
+#endif
#include <cairo.h>
#include "rofi-types.h"
@@ -336,4 +339,7 @@ void parse_ranges ( char *input, rofi_range_pair **list, unsigned int *length );
* @param filter
*/
void rofi_output_formatted_line ( const char *format, const char *string, int selected_line, const char *filter );
+#ifdef __cplusplus
+}
+#endif
#endif // ROFI_HELPER_H