Skip to content

API Reference / @gtkx/native / Ownership

Type Alias: Ownership

Ownership = "borrowed" | "full"

Defined in: index.d.ts:108

Ownership transfer mode for a marshalled value: borrowed leaves the native side owning it, full transfers ownership (and the responsibility to free it) across the FFI boundary.

Released under the MPL-2.0 License.