summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libass/ass.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libass/ass.h b/libass/ass.h
index 4673032..ca9d8af 100644
--- a/libass/ass.h
+++ b/libass/ass.h
@@ -25,6 +25,10 @@
#define LIBASS_VERSION 0x01201000
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/*
* A linked list of images produced by an ass renderer.
*
@@ -536,4 +540,8 @@ void ass_clear_fonts(ASS_Library *library);
*/
long long ass_step_sub(ASS_Track *track, long long now, int movement);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* LIBASS_ASS_H */