changeset 317:adb101296bb8

Add C++ protectors.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 14 Oct 2012 00:17:21 +0300
parents a03e604f4e75
children 47381d8e130c
files dmsimple.h
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dmsimple.h	Sat Oct 13 07:36:32 2012 +0300
+++ b/dmsimple.h	Sun Oct 14 00:17:21 2012 +0300
@@ -14,6 +14,11 @@
 #endif
 
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
 typedef struct
 {
     int currFrame, endTime, startTime,
@@ -96,4 +101,9 @@
 
 int    demoPreInit();
 
+
+#ifdef __cplusplus
+}
+#endif
+
 #endif // DMSIMPLE_H