MCPcopy Create free account
hub / github.com/acl-dev/acl / set

Method set

android/samples/fiber/HttpFiber/src/main/cpp/jobject_set.cpp:30–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30bool jobject_set::set(const char *name, int in)
31{
32 jfieldID fID = env_->GetFieldID(clz_, name, "I");
33 if (fID == NULL) {
34 log_error("%s not found", name);
35 return false;
36 }
37 env_->SetIntField(obj_, fID, (jint) in);
38 return true;
39}
40
41bool jobject_set::set(const char *name, long long int in)
42{

Callers

nothing calls this directly

Calls 6

beginMethod · 0.80
log_errorFunction · 0.70
String2JStringFunction · 0.50
c_strMethod · 0.45
sizeMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected