Package: gobject

Function gobject:type-instance-class

Lambda List

gobject:type-instance-class (instance)

Arguments

instance -- a g:type-instance instance

Return Value

The g:type-class instance of instance.

Details

Get the class structure of a given instance. This function should only be used in type implementations.

Examples

(g:type-instance-class (make-instance 'g:simple-action))
=> #.(SB-SYS:INT-SAP #X58BA0B4DF320)
(g:type-from-class *)
=> #<GTYPE :name "GSimpleAction" :id 97556076810288>    
 

See also

2024-12-8