Add Native Project

This commit is contained in:
GuilhermeWerner 2021-05-05 10:27:52 -03:00
parent 1b018a2572
commit f02814624e
4 changed files with 90 additions and 0 deletions

11
Native/Source/Library.c Normal file
View file

@ -0,0 +1,11 @@
// Copyright (c) TribuFu. All Rights Reserved
#include "Library.h"
#include "TribuFu.h"
char *Java_Hello(char *input)
{
char *result = Hello("C");
return result;
}

7
Native/Source/Library.h Normal file
View file

@ -0,0 +1,7 @@
// Copyright (c) TribuFu. All Rights Reserved
#include "TribuFu.h"
#define EXPORT __declspec(dllexport)
EXPORT char *Java_Hello(char *input);