Package org.lwjgl.system.macosx
Class MacOSXLibraryDL
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.SharedLibrary.Default
-
- org.lwjgl.system.macosx.MacOSXLibrary
-
- org.lwjgl.system.macosx.MacOSXLibraryDL
-
- All Implemented Interfaces:
- java.lang.AutoCloseable, FunctionProvider, NativeResource, Pointer, SharedLibrary
public class MacOSXLibraryDL extends MacOSXLibrary
Implements aSharedLibrary
on the MacOS X using dlopen.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.lwjgl.system.SharedLibrary
SharedLibrary.Default, SharedLibrary.Delegate
-
-
Field Summary
-
Fields inherited from interface org.lwjgl.system.Pointer
POINTER_SHIFT, POINTER_SIZE
-
-
Constructor Summary
Constructors Constructor and Description MacOSXLibraryDL(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
free()
Frees any native resources held by this object.long
getFunctionAddress(java.nio.ByteBuffer functionName)
Returns the function address of the specified function.-
Methods inherited from class org.lwjgl.system.macosx.MacOSXLibrary
create, getWithIdentifier
-
Methods inherited from class org.lwjgl.system.SharedLibrary.Default
getName
-
Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
-
Methods inherited from interface org.lwjgl.system.FunctionProvider
getFunctionAddress
-
Methods inherited from interface org.lwjgl.system.NativeResource
close
-
-
-
-
Method Detail
-
getFunctionAddress
public long getFunctionAddress(java.nio.ByteBuffer functionName)
Description copied from interface:FunctionProvider
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
-
free
public void free()
Description copied from interface:NativeResource
Frees any native resources held by this object.
-
-