MCPcopy Create free account
hub / github.com/NativeScript/android / NewInt

Method NewInt

test-app/runtime/src/main/cpp/JType.cpp:30–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30jobject JType::NewInt(JEnv env, jint value) {
31 EnsureInstance(env, &Int, Type::Int);
32 return env.NewObject(Int->clazz, Int->ctor, value);
33}
34
35jobject JType::NewLong(JEnv env, jlong value) {
36 EnsureInstance(env, &Long, Type::Long);

Callers

nothing calls this directly

Calls 1

NewObjectMethod · 0.80

Tested by

no test coverage detected