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

Method getFunction

src/com/sun/jna/NativeLibrary.java:544–546  ·  view source on GitHub ↗

Create a new Function that is linked with a native function that follows the NativeLibrary's calling convention. The allocated instance represents a pointer to the named native function from the library. @param functionName Name of the native function to be linked with @th

(String functionName)

Source from the content-addressed store, hash-verified

542 * @throws UnsatisfiedLinkError if the function is not found
543 */
544 public Function getFunction(String functionName) {
545 return getFunction(functionName, callFlags);
546 }
547
548 /**
549 * Create a new {@link Function} that is linked with a native

Callers 8

testTooManyArgsMethod · 0.95
testGetProcessMethod · 0.95
testDLLCallbackMethod · 0.95
testFunctionMapperMethod · 0.95

Calls 6

getFunctionNameMethod · 0.95
functionKeyMethod · 0.95
putMethod · 0.80
getPropertyMethod · 0.65
getMethod · 0.45
lengthMethod · 0.45

Tested by 8

testTooManyArgsMethod · 0.76
testGetProcessMethod · 0.76
testDLLCallbackMethod · 0.76
testFunctionMapperMethod · 0.76