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