Skip to content

Instantly share code, notes, and snippets.

@LiewJunTung
Last active June 18, 2018 13:39
Show Gist options
  • Save LiewJunTung/7e37482f12edcc1b01648194432fd007 to your computer and use it in GitHub Desktop.
Save LiewJunTung/7e37482f12edcc1b01648194432fd007 to your computer and use it in GitHub Desktop.
// AUTOGENERATED FILE - DO NOT MODIFY!
// This file generated by Djinni from calculator.djinni
CJNIEXPORT void JNICALL Java_com_jtliew_Calculator_00024CppProxy_native_1updateRgbFrame(JNIEnv* jniEnv, jobject /*this*/, jlong nativeRef, ::djinni::ByteBuffer::JniType j_rgbBuffer)
{
try {
DJINNI_FUNCTION_PROLOGUE1(jniEnv, nativeRef);
const auto& ref = ::djinni::objectFromHandleAddress<::jtliew::Calculator>(nativeRef);
ref->updateRgbFrame(::djinni::ByteBuffer::toCpp(jniEnv, j_rgbBuffer));
} JNI_TRANSLATE_EXCEPTIONS_RETURN(jniEnv, )
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment