本文整理了Java中com.sun.jna.Native.sizeof()
方法的一些代码示例,展示了Native.sizeof()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Native.sizeof()
方法的具体详情如下:
包路径:com.sun.jna.Native
类名称:Native
方法名:sizeof
[英]Initialize field and method IDs for native methods of this class. Returns the size of a native pointer.
[中]初始化此类本机方法的字段和方法ID。返回本机指针的大小。
代码示例来源:origin: net.java.dev.jna/jna
POINTER_SIZE = sizeof(TYPE_VOIDP);
LONG_SIZE = sizeof(TYPE_LONG);
WCHAR_SIZE = sizeof(TYPE_WCHAR_T);
SIZE_T_SIZE = sizeof(TYPE_SIZE_T);
BOOL_SIZE = sizeof(TYPE_BOOL);
LONG_DOUBLE_SIZE = sizeof(TYPE_LONG_DOUBLE);
代码示例来源:origin: org.elasticsearch/jna
POINTER_SIZE = sizeof(TYPE_VOIDP);
LONG_SIZE = sizeof(TYPE_LONG);
WCHAR_SIZE = sizeof(TYPE_WCHAR_T);
SIZE_T_SIZE = sizeof(TYPE_SIZE_T);
BOOL_SIZE = sizeof(TYPE_BOOL);
内容来源于网络,如有侵权,请联系作者删除!