2025-01-22 16:18:30 +01:00

21 lines
344 B
Java

package org.haxe;
// Wrapper for native library
public class HXCPP {
static boolean mInit = false;
static public void run(String inClassName) {
System.loadLibrary(inClassName);
if (!mInit)
{
mInit = true;
main();
}
}
public static native void main();
}