Next: , Previous: x1f4_stat_program, Up: Imperative Language Interpreter Functions


4.8.3.17 x1f4_sweep_program

extern int x1f4_sweep_program
    (void *program);

The x1f4_sweep_program function visits every program variable and for each variable of some application defined type defining a clean up method (the very shut field in the struct x1f4_datatype_type data type definition) calls the clean up defined by the type of variable.

See Data Type Definition.

See struct x1f4_datatype_type.

The function returns 0 if no clean up method was ever called or no called clean up method returned non zero, the non zero return of the clean up otherwise.

See struct x1f4_c1_type.

See Execution Completion Cleanup.

There should be no need for calling x1f4_sweep_program unless for program execution interruption.