Next: Displaying The Functions List, Previous: Miscellaneous Convenience Routines, Up: Executive Assembler Introduction [Index]
Construct the aime executive and pick the constants list from it:
struct x1f4_indexset_type indexset;
context_data->indexset_data = &indexset;
context_data->argv = (void *) context_data;
if (init_xset(context_data)) {
} else {
Traverse the list with x1f4_list_state:
See x1f4_list_state.
x1f4_list_state(indexset.variable_set.text, NULL, ever_list);
fini_xset(context_data);
}
The variable definition dumper function:
static int
ever_list(void *none, void *data, struct x1f4_variable_type *variable_data)
{
puts(variable_data->name);
return 0;
}