设置self_ptr地址,指向创建的LAC对象
| 24 | |
| 25 | // 设置self_ptr地址,指向创建的LAC对象 |
| 26 | static void _set_self(JNIEnv *env, jobject thisObj, LAC *self) |
| 27 | { |
| 28 | jlong selfPtr = *(jlong *)&self; |
| 29 | env->SetLongField(thisObj, _get_self_id(env, thisObj), selfPtr); |
| 30 | } |
| 31 | |
| 32 | // 返回LAC对象的指针 |
| 33 | static LAC *_get_self(JNIEnv *env, jobject thisObj) |
no test coverage detected