file: panama.aus

class: NativeFunctionType

[609:14] (extern: com.lehman.aussom.stdlib.PanamaFunctionType) extends: object

NativeFunctionType stores a native function signature for later binding.

class: NativePointerType

[626:14] (extern: com.lehman.aussom.stdlib.PanamaPointerType) extends: object

NativePointerType stores pointer target metadata.

class: NativeCallbackType

[615:14] (extern: com.lehman.aussom.stdlib.PanamaCallbackType) extends: object

NativeCallbackType stores a native callback signature used to create NativeCallback objects for upcalls into Aussom code.

Methods

class: NativeOut

[894:14] (extern: com.lehman.aussom.stdlib.PanamaNativeOut) extends: object

NativeOut wraps arena-owned memory intended for out-parameter calls. Pass the object directly to a native function when the signature expects a pointer argument, then read the written value back with the typed helpers.

Methods

class: panama

[20:21] static (extern: com.lehman.aussom.stdlib.AussomPanama) extends: object

The panama static class provides access to native libraries through Java's Foreign Function and Memory API. It can open symbol lookups, describe function signatures, allocate native memory, and build struct layouts.

Methods

class: NativeBuffer

[817:14] (extern: com.lehman.aussom.stdlib.PanamaNativeBuffer) extends: object

NativeBuffer wraps a native memory segment with explicit size tracking.

Methods

class: NativeHandle

[664:14] (extern: com.lehman.aussom.stdlib.PanamaNativeHandle) extends: object

NativeHandle wraps an opaque native address with a display type name. Use handles for object pointers and other pointer-shaped values that are not intended to be read and written as raw memory buffers.

Methods

class: NativeStruct

[981:14] (extern: com.lehman.aussom.stdlib.PanamaNativeStruct) extends: object

NativeStruct wraps one allocated struct instance and exposes field access.

Methods

class: NativeStructLayout

[945:14] (extern: com.lehman.aussom.stdlib.PanamaNativeStructLayout) extends: object

NativeStructLayout stores struct metadata and field offsets.

Methods

class: NativeFunction

[585:14] (extern: com.lehman.aussom.stdlib.PanamaNativeFunction) extends: object

NativeFunction wraps a bound native symbol and exposes call().

Methods

class: NativeField

[752:14] (extern: com.lehman.aussom.stdlib.PanamaNativeField) extends: object

NativeField stores one named struct field definition.

Methods

class: NativeOwnership

[10:6] static extends: object

Defines ownership metadata for returned native pointers. Use this to distinguish borrowed pointer results from owned ones when converting raw pointer-shaped return values into NativeHandle objects.

Members

class: NativeCallback

[717:14] (extern: com.lehman.aussom.stdlib.PanamaNativeCallback) extends: object

NativeCallback wraps one Aussom callback exposed as a native function pointer. The callback can be passed directly to native functions that expect a callback pointer or converted to a NativeHandle with handle().

Methods

class: NativeArena

[776:14] (extern: com.lehman.aussom.stdlib.PanamaNativeArena) extends: object

NativeArena owns native memory allocations.

Methods

class: NativeLibrary

[559:14] (extern: com.lehman.aussom.stdlib.PanamaNativeLibrary) extends: object

NativeLibrary wraps a native symbol lookup and binds symbols to functions.

Methods

class: NativeArrayType

[633:14] (extern: com.lehman.aussom.stdlib.PanamaArrayType) extends: object

NativeArrayType describes a homogeneous array: element type, length, and ownership. Supports nested arrays via an inner NativeArrayType as the element.

Methods