11 static constexpr
auto CallMethod = &JNIEnv::CallObjectMethod;
13 static constexpr
auto GetField = &JNIEnv::GetObjectField;
14 static constexpr
auto SetField = &JNIEnv::SetObjectField;
22 static constexpr
auto CallMethod = &JNIEnv::CallBooleanMethod;
24 static constexpr
auto GetField = &JNIEnv::GetBooleanField;
25 static constexpr
auto SetField = &JNIEnv::SetBooleanField;
29 static constexpr
auto NewArray = &JNIEnv::NewBooleanArray;
38 static constexpr
auto CallMethod = &JNIEnv::CallByteMethod;
40 static constexpr
auto GetField = &JNIEnv::GetByteField;
41 static constexpr
auto SetField = &JNIEnv::SetByteField;
45 static constexpr
auto NewArray = &JNIEnv::NewByteArray;
54 static constexpr
auto CallMethod = &JNIEnv::CallCharMethod;
56 static constexpr
auto GetField = &JNIEnv::GetCharField;
57 static constexpr
auto SetField = &JNIEnv::SetCharField;
61 static constexpr
auto NewArray = &JNIEnv::NewCharArray;
70 static constexpr
auto CallMethod = &JNIEnv::CallShortMethod;
72 static constexpr
auto GetField = &JNIEnv::GetShortField;
73 static constexpr
auto SetField = &JNIEnv::SetShortField;
77 static constexpr
auto NewArray = &JNIEnv::NewShortArray;
86 static constexpr
auto CallMethod = &JNIEnv::CallIntMethod;
88 static constexpr
auto GetField = &JNIEnv::GetIntField;
89 static constexpr
auto SetField = &JNIEnv::SetIntField;
93 static constexpr
auto NewArray = &JNIEnv::NewIntArray;
104 static constexpr
auto GetField = &JNIEnv::GetLongField;
105 static constexpr
auto SetField = &JNIEnv::SetLongField;
109 static constexpr
auto NewArray = &JNIEnv::NewLongArray;
120 static constexpr
auto GetField = &JNIEnv::GetFloatField;
121 static constexpr
auto SetField = &JNIEnv::SetFloatField;
125 static constexpr
auto NewArray = &JNIEnv::NewFloatArray;
134 static constexpr
auto CallMethod = &JNIEnv::CallDoubleMethod;
136 static constexpr
auto GetField = &JNIEnv::GetDoubleField;
137 static constexpr
auto SetField = &JNIEnv::SetDoubleField;
141 static constexpr
auto NewArray = &JNIEnv::NewDoubleArray;
void SetField(JNIEnv &env, jobject *obj, jfieldID &field, T value)
Definition: functions.hpp:313
void SetArrayRegion(JNIEnv &env, jarray< T > &array, jsize start, jsize len, const T *buf)
Definition: functions.hpp:539
std::enable_if_t<!std::is_void< R >::value, R > CallStaticMethod(JNIEnv &env, jclass &clazz, jmethodID &method, Args &&... args)
Definition: functions.hpp:328
std::enable_if_t<!std::is_void< R >::value, R > CallMethod(JNIEnv &env, jobject *obj, jmethodID &method, Args &&... args)
Definition: functions.hpp:268
void GetArrayRegion(JNIEnv &env, jarray< T > &array, jsize start, jsize len, T *buf)
Definition: functions.hpp:525
void SetStaticField(JNIEnv &env, jclass &clazz, jfieldID &field, T value)
Definition: functions.hpp:357
std::enable_if_t<!std::is_void< R >::value, R > CallNonvirtualMethod(JNIEnv &env, jobject *obj, jclass &clazz, jmethodID &method, Args &&... args)
Definition: functions.hpp:284
jarray< E > & NewArray(JNIEnv &env, jsize length)
Definition: functions.hpp:472
std::tuple< UniqueArrayElements< E >, bool > GetArrayElements(JNIEnv &env, jarray< E > &array)
Definition: functions.hpp:479
Definition: advanced_ownership.hpp:5
void ReleaseArrayElements(JNIEnv &env, jarray< E > &array, E *elems)
Definition: functions.hpp:488
Definition: typed_methods.hpp:7
T GetStaticField(JNIEnv &env, jclass &clazz, jfieldID &field)
Definition: functions.hpp:350
T GetField(JNIEnv &env, jobject *obj, jfieldID &field)
Definition: functions.hpp:306