MCPcopy Create free account
hub / github.com/baidu/lac / _get_self

Function _get_self

java/cpp/lac_jni.cpp:33–37  ·  view source on GitHub ↗

返回LAC对象的指针

Source from the content-addressed store, hash-verified

31
32 // 返回LAC对象的指针
33 static LAC *_get_self(JNIEnv *env, jobject thisObj)
34 {
35 jlong selfPtr = env->GetLongField(thisObj, _get_self_id(env, thisObj));
36 return *(LAC **)&selfPtr;
37 }
38
39
40 /*

Calls 1

_get_self_idFunction · 0.85

Tested by

no test coverage detected