Top Description Constructors Methods
org.lwjgl.system.macosx

public Class MacOSXLibraryBundle

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

Implements a SharedLibrary on the macOS using CFBundle.

Constructor Summary

AccessConstructor and Description
public
MacOSXLibraryBundle(String name, long bundleRef)

Method Summary

Modifier and TypeMethod and Description
public static MacOSXLibraryBundle
private static long
CString2CFString(ByteBuffer name, int encoding)

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.
public static MacOSXLibraryBundle

Constructor Detail

MacOSXLibraryBundleback to summary
public MacOSXLibraryBundle(String name, long bundleRef)

Method Detail

createback to summary
public static MacOSXLibraryBundle create(String path)

Hides org.lwjgl.system.macosx.MacOSXLibrary.create.

CString2CFStringback to summary
private static long CString2CFString(ByteBuffer name, int encoding)
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
getWithIdentifierback to summary
public static MacOSXLibraryBundle getWithIdentifier(String bundleID)

Hides org.lwjgl.system.macosx.MacOSXLibrary.getWithIdentifier.