Package: gobject

Class gobject:initially-unowned

Superclasses

gobject:object, common-lisp:standard-object, common-lisp:t

Documented Subclasses

Direct Slots

None

Details

Base class that has initial "floating" reference. The only difference between the g:object class and this class is that the initial reference of a GInitiallyUnowned instance is flagged as a "floating" reference. This means that it is not specifically claimed to be "owned" by any code portion. The main motivation for providing floating references is C convenience.

Since floating references are useful almost exclusively for C convenience, language bindings that provide automated reference and memory ownership maintenance (such as smart pointers or garbage collection) should not expose floating references in their API.

The Lisp API does not provide any functionality for GInitiallyUnowned instances. This class is only provided for internal use and to document the class hierarchy.
 

Inherited Slot Access Functions

See also

2025-12-21