mirror of
https://github.com/zoriya/nitro.git
synced 2026-10-13 00:05:23 +00:00
12 lines
241 B
C++
12 lines
241 B
C++
/// Entry point for JNI.
|
|
|
|
#include <jni.h>
|
|
#include "JHybridObjectRegistry.hpp"
|
|
|
|
using namespace margelo::nitro;
|
|
|
|
JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM* vm, void*) {
|
|
JHybridObjectRegistry::registerNatives();
|
|
return JNI_VERSION_1_2;
|
|
}
|