try extern "C"

This commit is contained in:
Julian Dolby 2017-06-28 14:50:01 -04:00
parent 3722190ece
commit 9b6e29dcfd
1 changed files with 3 additions and 0 deletions

View File

@ -7,6 +7,8 @@
#include "CAstWrapper.h"
using namespace std;
extern "C" {
JavaVM *javaVM;
JNIEnv *launch(char *classpath) {
@ -44,3 +46,4 @@ void kill() {
javaVM->DestroyJavaVM();
}
}