mirror of
https://github.com/zoriya/nitro.git
synced 2026-10-13 00:05:23 +00:00
9 lines
215 B
C++
9 lines
215 B
C++
#include <jni.h>
|
|
#include "react-native-nitro.h"
|
|
|
|
extern "C"
|
|
JNIEXPORT jdouble JNICALL
|
|
Java_com_nitro_NitroModule_nativeMultiply(JNIEnv *env, jclass type, jdouble a, jdouble b) {
|
|
return nitro::multiply(a, b);
|
|
}
|