Package: glib

CEnum glib:variant-class

Declaration

(cffi:defcenum variant-class
  (:boolean     #.(char-code #b))
  (:byte        #.(char-code #y))
  (:int16       #.(char-code #n))
  (:uint16      #.(char-code #q))
  (:int32       #.(char-code #i))
  (:uint32      #.(char-code #u))
  (:int64       #.(char-code #x))
  (:uint64      #.(char-code #t))
  (:handle      #.(char-code #h))
  (:double      #.(char-code #d))
  (:string      #.(char-code #s))
  (:object-path #.(char-code #o))
  (:signature   #.(char-code #g))
  (:variant     #.(char-code #v))
  (:maybe       #.(char-code #m))
  (:array       #.(char-code #a))
  (:tuple       #.(char-code #())
  (:dict-entry  #.(char-code #{)))  

Values

:boolean
The instance is a boolean.
:byte
The variant is a byte.
:int16
The variant is a signed 16 bit integer.
:uint16
The variant is an unsigned 16 bitinteger.
:int32
The variant is a signed 32 bit integer.
:unit32
The variant is an unsigned 32 bit integer.
:int64
The variant is a signed 64 bit integer.
:uint64
The variant is an unsigned 64 bit integer.
:handle
The variant is a file handle index.
:double
The variant is a double precision floating point value.
:string
The variant is a normal string.
:object-path
The variant is a D-Bus object path string.
:signature
The variant is a D-Bus signature string.
:variant
The variant is a variant.
:maybe
The variant is a maybe-typed value.
:array
The variant is an array.
:tuple
The variant is a tuple.
:dict-entry
The variant is a dictionary entry.

Details

The range of possible toplevel types of g:variant parameters.
 

See also

2024-11-20