C+
Packages · View as Markdown
v0.0.27 is a macOS / AppKit release. That is the supported path. Other platforms are not recommended; wait for a later version.

gobject

Not recommended on v0.0.27. This version is a macOS / AppKit release. Other platforms exist in the tree; do not ship on them yet. See the manual overview.

The GObject runtime used by the generated GTK stack (gtk4, adwaita, glib, gio, …). Handles, signals, and the str ↔ C-string bridge live here.

import "gobject/runtime" as gobject;
import "gobject/signal" as signal;
import "gobject/bridge" as bridge;

Generated by cpc-bindgen --gobject. Strings at the C+ surface are str; the bridge allocates the NUL-terminated C string. Object handles are non-owning { _raw } wrappers. This is the Linux analog of objc for the Apple frameworks.