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

extern int x1f4_flat_program
    (void *program);

The x1f4_flat_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 while calling the string clean up method with the string clean up context and the value of the string variable as arguments (if such string clean up method and context were defined) for each string variable found not to have the default string variable value.

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 Imperative Language Interpreter Generation Flags.

See Execution Completion Cleanup.

There should be no need for calling x1f4_flat_program, the function will be eventually removed.