22 lines
477 B
C
22 lines
477 B
C
|
//
|
||
|
// Created by Marc Rousavy on 22.06.21.
|
||
|
//
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#include <jsi/jsi.h>
|
||
|
#include <jni.h>
|
||
|
#include <fbjni/fbjni.h>
|
||
|
|
||
|
namespace vision {
|
||
|
|
||
|
using namespace facebook;
|
||
|
|
||
|
namespace JSIJNIConversion {
|
||
|
jobject convertJSIValueToJNIObject(jsi::Runtime& runtime, const jsi::Value& value); // NOLINT(runtime/references)
|
||
|
|
||
|
jsi::Value convertJNIObjectToJSIValue(jsi::Runtime& runtime, const jni::local_ref<jobject>& object); // NOLINT(runtime/references)
|
||
|
};
|
||
|
|
||
|
} // namespace vision
|