Package: gobject

Function g-value-type

Lambda List

g-value-type (value)

Arguments

value -- a g-value instance

Return Value

The g-type of value.

Details

Get the type identifier of value.

Example

(setq value
      (with-foreign-object (value 'g-value)
        (g-value-init value "gint")))
=> #.(SB-SYS:INT-SAP #XB7910FE8)
(g-value-type value) => #S(GTYPE :NAME "gint" :%ID 24)    
 

See also

2021-4-8