Next: x1f4_push_real, Previous: x1f4_look_program, Up: Imperative Language Interpreter Functions
extern int x1f4_push_mode (void **context, const char *name, unsigned length, unsigned flags, void *storage);
The x1f4_push_mode
adds a variable for which the name is stored at
name
and has length
bytes into the context
variables
collection. flags
will make for the flags
field of the
struct x1f4_variable_type
variable definition. The variable type will
be X1f4_E4_MODE
. storage
is assumed to be the address at which
the value of the variable is stored.
The function returns 0
for success, one of variables collections
contruction errors for failure.
See Variables.
See Variable Flags.
See Variables Collections Contruction Errors.
See struct x1f4_variable_type.
See Symbolic Types.