MCPcopy Create free account
hub / github.com/MailCore/mailcore2 / getCustomHandle

Method getCustomHandle

src/java/JavaHandle.cpp:28–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28void * mailcore::getCustomHandle(JNIEnv * env, jobject obj, const char * fieldName)
29{
30 jlong handle = env->GetLongField(obj, getField(env, obj, fieldName, "J"));
31 return (void *) handle;
32}
33
34void mailcore::setCustomHandle(JNIEnv *env, jobject obj, const char * fieldName, void *t)
35{

Callers

nothing calls this directly

Calls 1

getFieldFunction · 0.85

Tested by

no test coverage detected