Add JNI Sample

This commit is contained in:
GuilhermeWerner 2021-05-07 08:44:00 -03:00
parent be03f71b22
commit 06b1398734
3 changed files with 40 additions and 0 deletions

13
Source/Library.h Normal file
View file

@ -0,0 +1,13 @@
// Copyright (c) TribuFu. All Rights Reserved
#pragma once
#include <jni.h>
#include "TribuFu.h"
/*
* Class: tribufu_TribuFu
* Method: Hello
* Signature: (Ljava/lang/String;)Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_tribufu_TribuFu_Hello(JNIEnv *, jobject, jstring);