try extern "C"
This commit is contained in:
parent
3722190ece
commit
9b6e29dcfd
|
@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue