Package org.lwjgl.system
Interface FunctionProvider
- All Known Subinterfaces:
FunctionProviderLocal
,SharedLibrary
- All Known Implementing Classes:
LinuxLibrary
,MacOSXLibrary
,MacOSXLibraryBundle
,MacOSXLibraryDL
,SharedLibrary.Default
,SharedLibrary.Delegate
,WindowsLibrary
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A provider of native function addresses.
-
Method Summary
Modifier and TypeMethodDescriptiondefault long
getFunctionAddress
(CharSequence functionName) CharSequence
version ofgetFunctionAddress(ByteBuffer)
.long
getFunctionAddress
(ByteBuffer functionName) Returns the function address of the specified function.
-
Method Details
-
getFunctionAddress
CharSequence
version ofgetFunctionAddress(ByteBuffer)
. -
getFunctionAddress
Returns the function address of the specified function. If the function is not supported, returns 0L.- Parameters:
functionName
- the encoded name of the function to query- Returns:
- the function address or 0L if the function is not supported
-