Next: , Previous: , Up: Imperative Language Interpreter Functions   [Index]


5.9.3.12 x1f4_list_state

extern int x1f4_list_state
    (void *context, void *data,
     int (*list)(void *, void *, struct x1f4_variable_type *));

The x1f4_list_state function traverses the context variables collection and calls the list method with the data traversal context, the variable value storage and the variable definition addresses as arguments, in this order, for each variable in the variables context and for as long as list returns 0.

Variables Collections.

The function returns 0 if the list method was never called or never returned non zero, the non zero return of the list method otherwise.