public interface ToNativeConverter
Modifier and Type | Method and Description |
---|---|
java.lang.Class<?> |
nativeType()
Indicate the type expected from
toNative(java.lang.Object, com.sun.jna.ToNativeContext) . |
java.lang.Object |
toNative(java.lang.Object value,
ToNativeContext context)
Convert a Java type to an appropriate native type.
|
java.lang.Object toNative(java.lang.Object value, ToNativeContext context)
Pointer
NativeLong
Structure
WString
Buffer
(unsupported in direct mode)
java.lang.Class<?> nativeType()
toNative(java.lang.Object, com.sun.jna.ToNativeContext)
.