Files
MapLibreParticleLab/platform/android/src/main.cpp
Sudarsana Babu Nagineni 13d2667035 [android] jni binding refactor
Move registerNatives() call to a separate file to make jni.cpp
less dependent on native headers.
2019-08-23 14:39:05 +03:00

10 lines
225 B
C++

#include "jni.hpp"
#include "jni_native.hpp"
#include <jni/jni.hpp>
extern "C" JNIEXPORT jint JNI_OnLoad(JavaVM *vm, void *) {
assert(vm != nullptr);
mbgl::android::registerNatives(vm);
return JNI_VERSION_1_6;
}