Initial import of new NDK into donut tree
This commit is contained in:
11
ndk/sources/samples/two-libs/second.c
Normal file
11
ndk/sources/samples/two-libs/second.c
Normal file
@@ -0,0 +1,11 @@
|
||||
#include "first.h"
|
||||
#include <jni.h>
|
||||
|
||||
jint
|
||||
Java_com_example_TwoLib_TwoLib_add( JNIEnv* env,
|
||||
jobject this,
|
||||
jint x,
|
||||
jint y )
|
||||
{
|
||||
return first(x, y);
|
||||
}
|
||||
Reference in New Issue
Block a user