Package org.lwjgl.system
Class SharedLibrary.Delegate
- java.lang.Object
-
- org.lwjgl.system.SharedLibrary.Delegate
-
- All Implemented Interfaces:
- java.lang.AutoCloseable, FunctionProvider, NativeResource, Pointer, SharedLibrary
- Enclosing interface:
- SharedLibrary
public abstract static class SharedLibrary.Delegate extends java.lang.Object implements SharedLibrary
-
-
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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description long
address()
Returns the raw pointer address as along
value.void
free()
Frees any native resources held by this object.java.lang.String
getName()
Returns the library name.-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.lwjgl.system.FunctionProvider
getFunctionAddress, getFunctionAddress
-
Methods inherited from interface org.lwjgl.system.NativeResource
close
-
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:SharedLibrary
Returns the library name.- Specified by:
getName
in interfaceSharedLibrary
-
address
public long address()
Description copied from interface:Pointer
Returns the raw pointer address as along
value.
-
free
public void free()
Description copied from interface:NativeResource
Frees any native resources held by this object.- Specified by:
free
in interfaceNativeResource
-
-