Establishing repository

This commit is contained in:
2020-07-30 13:04:41 -05:00
commit 99dbc9f0cb
22 changed files with 9321 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
// Desktop application primary class
public class Main {
// Program entry point
public static void main(String[] args) {
System.out.println("Hello, world!");
}
}
+7
View File
@@ -0,0 +1,7 @@
#include <jni.h>
#include "vue_NativeVUE.h"
JNIEXPORT jint JNICALL Java_vue_NativeVUE_test(JNIEnv *env, jobject obj,
jint x, jint y) {
return x * y;
}
+13
View File
@@ -0,0 +1,13 @@
package vue;
// Native-backed emulation core implementation
class NativeVUE extends VUE {
// Retrieve the implementation's name
public String getName() {
return "Native";
}
native int test(int x, int y);
}
+9
View File
@@ -0,0 +1,9 @@
package vue;
// Template class for emulation core implementations
public abstract class VUE {
// Retrieve the implementation's name
public abstract String getName();
}