diff options
Diffstat (limited to 'src/cubeb-jni.h')
-rw-r--r-- | src/cubeb-jni.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/cubeb-jni.h b/src/cubeb-jni.h index c4a712a..d63629f 100644 --- a/src/cubeb-jni.h +++ b/src/cubeb-jni.h @@ -3,6 +3,10 @@ typedef struct cubeb_jni cubeb_jni; +#ifdef __cplusplus +extern "C" { +#endif + cubeb_jni * cubeb_jni_init(); int @@ -10,4 +14,8 @@ cubeb_get_output_latency_from_jni(cubeb_jni * cubeb_jni_ptr); void cubeb_jni_destroy(cubeb_jni * cubeb_jni_ptr); +#ifdef __cplusplus +}; +#endif + #endif // _CUBEB_JNI_H_ |