62,614
社区成员
发帖
与我相关
我的任务
分享
package com;
import com.sun.jna.*;
public class wp_demo
{
public static class AAA extends Structure{
public static class ByReference extends AAA implements Structure.ByReference {}
int a;
int b;
}
public static void main(String[] args)
{
AAA etherDevice = new AAA();
//
}
}
public static class AAA extends Structure{
public static class ByReference extends AAA implements Structure.ByReference {}
int a;
int b;
}
改成
public static class AAA extends Structure{
public static class ByReference extends AAA implements Structure.ByReference{}
public int a;
public int b;
}