MCPcopy Index your code
hub / github.com/java-native-access/jna / toNative

Method toNative

src/com/sun/jna/ToNativeConverter.java:52–52  ·  view source on GitHub ↗

Convert a Java type to an appropriate native type. The new type must be one of the following classes: Pointer Boolean Byte Short Character Integer NativeLong Long Float Double Structure String WString {@link

(Object value, ToNativeContext context)

Source from the content-addressed store, hash-verified

50 * </ul>
51 */
52 Object toNative(Object value, ToNativeContext context);
53 /** Indicate the type expected from {@link #toNative}. */
54 Class<?> nativeType();
55}

Callers 4

writeFieldMethod · 0.95
deriveLayoutMethod · 0.95
getFieldTypeInfoMethod · 0.95
convertArgumentMethod · 0.95

Implementers 15

PrimitiveConvertertest/com/sun/jna/DirectArgumentsWrappe
EnumConvertercontrib/platform/src/com/sun/jna/platf
CertStoreProviderNamecontrib/platform/src/com/sun/jna/platf
Customtest/com/sun/jna/ReturnTypesTest.java
DirectTestLibraryBooleantest/com/sun/jna/DirectTypeMapperTest.
DirectTestLibraryStringtest/com/sun/jna/DirectTypeMapperTest.
DirectTestLibraryCharSequencetest/com/sun/jna/DirectTypeMapperTest.
DirectTestLibraryNumbertest/com/sun/jna/DirectTypeMapperTest.
DirectTestLibraryWStringtest/com/sun/jna/DirectTypeMapperTest.
DirectTestLibraryBidirectionalBooleantest/com/sun/jna/DirectTypeMapperTest.
DirectTypeMappedResultTypeTestLibrarytest/com/sun/jna/DirectTypeMapperTest.
DirectTypeMappedEnumerationTestLibrarytest/com/sun/jna/DirectTypeMapperTest.

Calls

no outgoing calls

Tested by

no test coverage detected