mirror of
https://github.com/reactos/CMake.git
synced 2024-12-13 22:58:41 +00:00
4476feac33
Add a `create_javah` API.
20 lines
305 B
Java
20 lines
305 B
Java
class B
|
|
{
|
|
public B()
|
|
{
|
|
}
|
|
|
|
public native void printName();
|
|
|
|
static {
|
|
try {
|
|
|
|
System.loadLibrary("B");
|
|
|
|
} catch (UnsatisfiedLinkError e) {
|
|
System.err.println("Native code library failed to load.\n" + e);
|
|
System.exit(1);
|
|
}
|
|
}
|
|
}
|