diff options
Diffstat (limited to 'include/rofi-types.h')
-rw-r--r-- | include/rofi-types.h | 7 |
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 |