diff jssmix.h @ 358:3bdc776a4b33

Add C++ guards.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 16 Oct 2012 21:24:48 +0300
parents 1e89cd081956
children
line wrap: on
line diff
--- a/jssmix.h	Tue Oct 16 20:09:11 2012 +0300
+++ b/jssmix.h	Tue Oct 16 21:24:48 2012 +0300
@@ -7,6 +7,11 @@
 #define JSSMIX_H
 #include "jss.h"
 
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 //#define DBG(...) do { fprintf(stderr, __VA_ARGS__); } while (0)
 #define DBG(...) do { /* stub */ } while (0)
 
@@ -158,4 +163,8 @@
 int         jvmGetGlobalVol(JSSMixer *mixer);
 
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif // JSSMIX_H