fix: 平武
parent
cc2a88c101
commit
6474f6887e
@ -0,0 +1,25 @@
|
||||
package com.glxp.mipsdl.util;
|
||||
|
||||
public class TestNative
|
||||
|
||||
{
|
||||
|
||||
private native static int Max(int a,int b);
|
||||
|
||||
public static void main(String[] args)
|
||||
|
||||
{
|
||||
|
||||
System.out.println(Max(4,5));
|
||||
|
||||
}
|
||||
|
||||
static
|
||||
|
||||
{
|
||||
|
||||
System.loadLibrary("VCdll");
|
||||
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue