Class NativeSize
java.lang.Object
java.lang.Number
com.sun.jna.IntegerType
com.ochafik.lang.jnaerator.runtime.NativeSize
- All Implemented Interfaces:
- com.sun.jna.NativeMapped,- java.io.Serializable
public class NativeSize
extends com.sun.jna.IntegerType
'size_t' C type (32 bits on 32 bits platforms, 64 bits on 64 bits platforms).
 Can be also used to model the 'long' C type for libraries known to be compiled with GCC or LLVM even on Windows.
 (NativeLong on Windows is only okay with MSVC++ libraries, as 'long' on Windows 64 bits will be 32 bits with MSVC++ and 64 bits with GCC/mingw)
- Author:
- ochafik
- See Also:
- Serialized Form
- 
Field SummaryFields Modifier and Type Field Description static intSIZESize of a size_t integer, in bytes.
- 
Constructor SummaryConstructors Constructor Description NativeSize()Create a zero-valued Size.NativeSize(long value)Create a Size with the given value.
- 
Method Summary
- 
Field Details- 
SIZEpublic static int SIZESize of a size_t integer, in bytes.
 
- 
- 
Constructor Details- 
NativeSizepublic NativeSize()Create a zero-valued Size.
- 
NativeSizepublic NativeSize(long value)Create a Size with the given value.
 
-