Package org.lwjgl.system
Interface FunctionProvider
- All Known Subinterfaces:
FunctionProviderLocal,SharedLibrary
- All Known Implementing Classes:
FreeBSDLibrary,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 longgetFunctionAddress(CharSequence functionName) CharSequenceversion ofgetFunctionAddress(ByteBuffer).longgetFunctionAddress(ByteBuffer functionName) Returns the function address of the specified function.
-
Method Details
-
getFunctionAddress
CharSequenceversion 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
-