Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Functions
Path.cpp File Reference
#include <jni.h>
#include "include/core/SkPath.h"

Go to the source code of this file.

Functions

int register_jetski_Path (JNIEnv *env)
 

Function Documentation

◆ 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}
Definition __init__.py:1