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

Method register

src/com/sun/jna/Native.java:1559–1561  ·  view source on GitHub ↗

When called from a class static initializer, maps all native methods found within that class to native libraries via the JNA raw calling interface. @param libName library name to which functions should be bound

(String libName)

Source from the content-addressed store, hash-verified

1557 * @param libName library name to which functions should be bound
1558 */
1559 public static void register(String libName) {
1560 register(findDirectMappedClass(getCallingClass()), libName);
1561 }
1562
1563 /**
1564 * When called from a class static initializer, maps all native methods

Calls 15

findDirectMappedClassMethod · 0.95
getCallingClassMethod · 0.95
getInstanceMethod · 0.95
getMethod · 0.95
cacheOptionsMethod · 0.95
getConversionMethod · 0.95
nativeTypeMethod · 0.95
getInstanceMethod · 0.95
getSignatureMethod · 0.95
getToNativeConverterMethod · 0.95
registerMethodMethod · 0.95

Tested by 5

setUpMethod · 0.76
DirectMappingMethod · 0.76
setUpMethod · 0.76