Structure.hasFieldTyped

Check if structure contains a field named fieldname and with GType type.

class Structure
int
hasFieldTyped

Parameters

fieldname string

the name of a field

type GType

the type of a value

Return Value

Type: int

TRUE if the structure contains a field with the given name and type

Meta