MCPcopy Create free account
hub / github.com/android/ndk-samples / Add

Function Add

unit-test/app/src/main/cpp/native-lib.cpp:6–6  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4#include "adder.h"
5
6jint Add(JNIEnv*, jobject, jint a, jint b) { return add((int)a, (int)b); }
7
8extern "C" JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM* _Nonnull vm,
9 void* _Nullable) {

Callers

nothing calls this directly

Calls 1

addFunction · 0.85

Tested by

no test coverage detected