Top Description Constructors Methods
org.lwjgl.system.linux

public Class LinuxLibrary

extends Default
Class Inheritance
Imports
org.lwjgl.system.*, javax.annotation.*, java.nio.*

Implements a SharedLibrary on the Linux OS.

Constructor Summary

AccessConstructor and Description
public
public
LinuxLibrary(String name, long handle)

Method Summary

Modifier and TypeMethod and Description
public void
free()

Implements org.lwjgl.system.NativeResource.free.

Frees any native resources held by this object.
public long
getFunctionAddress(ByteBuffer
the encoded name of the function to query
functionName
)

Implements org.lwjgl.system.FunctionProvider.getFunctionAddress.

Returns the function address of the specified function.
public String
getPath()

Implements org.lwjgl.system.SharedLibrary.getPath.

Returns the library path, if available.
private static long
Inherited from org.lwjgl.system.SharedLibrary.Default:
getName

Constructor Detail

LinuxLibraryback to summary
public LinuxLibrary(String name)
LinuxLibraryback to summary
public LinuxLibrary(String name, long handle)

Method Detail

freeback to summary
public void free()

Implements org.lwjgl.system.NativeResource.free.

Doc from org.lwjgl.system.NativeResource.free.

Frees any native resources held by this object.

Annotations
@Override
getFunctionAddressback to summary
public long getFunctionAddress(ByteBuffer functionName)

Implements org.lwjgl.system.FunctionProvider.getFunctionAddress.

Doc from org.lwjgl.system.FunctionProvider.getFunctionAddress.

Returns the function address of the specified function. If the function is not supported, returns 0L.

Parameters
functionName:ByteBuffer

the encoded name of the function to query

Returns:long

the function address or 0L if the function is not supported

Annotations
@Override
getPathback to summary
public String getPath()

Implements org.lwjgl.system.SharedLibrary.getPath.

Doc from org.lwjgl.system.SharedLibrary.getPath.

Returns the library path, if available.

Returns:String

the library path, or null if the path is not available.

Annotations
@Nullable
@Override
loadLibraryback to summary
private static long loadLibrary(String name)