Vala.CCodeStruct.add_field – ccode Reference Manual
Packages
ccode
Vala
CCodeStruct
is_empty
name
CCodeStruct
add_declaration
add_field
write
_name
declarations
add_field
Description:
public
void
add_field
(
string
type_name,
string
name,
CCodeModifiers
modifiers =
0
,
CCodeDeclaratorSuffix
? declarator_suffix =
null
)
Adds a variable with the specified type and name to this struct.
Parameters:
type_name
field type
name
member name