Next: x1f4_rail_program, Previous: x1f4_push_text, Up: Imperative Language Interpreter Functions [Index]
extern int x1f4_push_variable
(void **context, const char *name, unsigned length, int type,
unsigned flags, void *storage);
The x1f4_push_variable 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, while type will
make for the type field of the very same struct
x1f4_variable_type variable definition. 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
construction errors for failure.
See Variables.
See Variable Flags.