Common Types

G-Golf Common Types low level API.
common types - TODO

Procedures

g-type-tag-to-string

Types and Values

%gi-type-tag
%gi-array-type

Procedures

Procedure: g-type-tag-to-string type-tag

Returns a string or #f.

Obtains the string representation for type-tag or #f if it does not exist (note that in this case, the upstream function returns "unknown").

type-tag can either be an id or a symbol, a member of the enum-set of %gi-type-tag.

Types and Values

Instance Variable of <gi-enum>: %gi-type-tag

An instance of <gi-enum>, who’s members are the type tag of a GITypeInfo:

g-name: GITypeTag
name: gi-type-tag
enum-set:

void
boolean
int8
uint8
int16
uint16
int32
uint32
int64
uint64
float
double
gtype
utf8
filename
array
interface
glist
gslist
ghash
error
unichar

Instance Variable of <gi-enum>: %gi-array-type

An instance of <gi-enum>, who’s members are the type of array in a GITypeInfo:

g-name: GIArrayType
name: gi-array-type
enum-set:

c
array
ptr-array
byte-array