summaryrefslogtreecommitdiff
path: root/include/kitchensink
diff options
context:
space:
mode:
authorTuomas Virtanen <katajakasa@gmail.com>2018-03-29 21:44:00 +0300
committerTuomas Virtanen <katajakasa@gmail.com>2018-03-29 21:46:49 +0300
commit591f359765045e68dc3e69742a63377b2b05525f (patch)
tree73bb23ca6868b01edc985ccf793636f1457189d0 /include/kitchensink
parentcd9cdcb9fbc6bbea56e28eb9e4e13f7036004266 (diff)
Cleanups
Diffstat (limited to 'include/kitchensink')
-rw-r--r--include/kitchensink/kitformats.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/kitchensink/kitformats.h b/include/kitchensink/kitformats.h
index 129047b..80bfd4f 100644
--- a/include/kitchensink/kitformats.h
+++ b/include/kitchensink/kitformats.h
@@ -1,6 +1,10 @@
#ifndef KITFORMATS_H
#define KITFORMATS_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#include <stdbool.h>
typedef struct Kit_AudioFormat {
@@ -27,4 +31,8 @@ typedef struct Kit_SubtitleFormat {
unsigned int format; ///< SDL Pixel Format
} Kit_SubtitleFormat;
+#ifdef __cplusplus
+}
+#endif
+
#endif // KITFORMATS_H