Package: gobject

Class g-type

Superclasses

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

Documented Subclasses

None

Direct Slots

mangled-p
Whether the type designator is mangled with the G_SIGNAL_TYPE_STATIC_SCOPE flag.

Details

Values of this CFFI foreign type g-type identify the C GType. The g-type type is designated by its name, a string, or a numeric identifier. Functions accept g-type type designators as a string or integer and return them as a string. The g-type-name and g-type-from-name functions are used to convert between the name and the numeric identifier. Numeric identifier of g-type may be different between different program runs. But string identifier of a g-type type does not change.

Examples

+g-type-double+ => 60
(g-type-name +g-type-double+) => "gdouble"
(g-type-from-name "gdouble") => #<GTYPE :name "gdouble" :id 60>       
 

See also

2021-9-9