MCPcopy Create free account
hub / github.com/KhronosGroup/KTX-Software / initClass

Function initClass

interface/java_binding/src/main/cpp/libktx-jni.cpp:181–190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179}
180
181bool initClass(JNIEnv *env, jclass& cls, const char *name)
182{
183 cls = env->FindClass(name);
184 if (cls == NULL)
185 {
186 std::cerr << "Failed to initialize class " << name << std::endl;
187 return false;
188 }
189 return true;
190}
191
192bool initField(JNIEnv *env, jclass cls, jfieldID& field, const char *name, const char *signature)
193{

Callers 1

JNI_OnLoadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected