c++ compatability
[melted] / src / framework / mlt.h
index e38419c..1725205 100644 (file)
 #ifndef _MLT_H_
 #define _MLT_H_
 
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
 #include "mlt_factory.h"
 #include "mlt_frame.h"
 #include "mlt_multitrack.h"
@@ -33,5 +38,9 @@
 #include "mlt_properties.h"
 #include "mlt_tractor.h"
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif