#include <jni.h>
#include "include/core/SkPath.h"
Go to the source code of this file.
◆ register_jetski_Path()
int register_jetski_Path |
( |
JNIEnv * |
env | ) |
|
Definition at line 19 of file Path.cpp.
19 {
20 static const JNINativeMethod methods[] = {
21 {"nRelease" , "(J)V" , reinterpret_cast<void*>(Path_Release)},
22 };
23
24 const auto clazz =
env->FindClass(
"org/skia/jetski/Path");
25 return clazz
26 ?
env->RegisterNatives(clazz, methods, std::size(methods))
27 : JNI_ERR;
28}