file: glib.aus

class: GObjectRef

[544:7] extends: object

GObjectRef is a low-level reusable wrapper for one GObject-derived handle. Generated wrappers can extend this to share explicit ref and unref behavior without tying native cleanup to GC.

Members

Methods

class: glib

[13:21] static (extern: com.lehman.aussom.stdlib.AussomGLib) extends: object

The glib static class provides GLib-specific helpers built on top of the generic panama FFM layer. Use it for GError** allocation and translation, explicit GObject lifetime calls, and low-level GObject signal or property helpers that should not live in the generic panama API.

Methods

class: NativeGError

[705:14] (extern: com.lehman.aussom.stdlib.GLibNativeGError) extends: object

NativeGError is a decoded snapshot of one native GLib GError. The message text is copied into Aussom-safe memory so it remains readable after the native error object is freed.

Methods

class: CallbackRetention

[636:7] extends: object

CallbackRetention keeps one NativeCallback and its optional retained user-data value alive together until close() is called explicitly.

Members

Methods

class: NativeGValue

[739:14] (extern: com.lehman.aussom.stdlib.GLibNativeValue) extends: object

NativeGValue wraps one heap-allocated GLib GValue. Use it when a native API expects a GValue pointer, or for constructing typed values that can be passed to g_object_new_with_properties, g_signal_emitv, or similar. Close the GValue when done to free the native memory. The handle() method returns a NativeHandle pointing at the GValue struct.

Methods

class: NativeGErrorOut

[784:14] (extern: com.lehman.aussom.stdlib.GLibNativeGErrorOut) extends: object

NativeGErrorOut wraps one GError** out slot. It can be passed directly to native calls, inspected afterward, or cleared.

Methods