Initial PROTEL 2026 toolchain import

This commit is contained in:
2026-06-08 18:04:03 -05:00
commit 98a0bb329d
125 changed files with 12223 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
/** Java program calling an EXPORTed PROTEL procedure via JNI (C ABI bridge). */
public final class JavaCallsProtel {
static {
System.loadLibrary("javacallsprotel");
}
private static native short protelAdd(short a, short b);
public static void main(String[] args) {
short sum = protelAdd((short) 40, (short) 2);
System.out.println("Java: protel_add(40, 2) = " + sum);
}
}