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

Method NewShort

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

Source from the content-addressed store, hash-verified

23}
24
25jobject JType::NewShort(JEnv env, jshort value) {
26 EnsureInstance(env, &Short, Type::Short);
27 return env.NewObject(Short->clazz, Short->ctor, value);
28}
29
30jobject JType::NewInt(JEnv env, jint value) {
31 EnsureInstance(env, &Int, Type::Int);

Callers

nothing calls this directly

Calls 1

NewObjectMethod · 0.80

Tested by

no test coverage detected