example.c The following code sample illustrates how the generated code looks when you select Module Procedures Only. /* */ /* Created: 16-MAY-1997 */ /* Compilation Profile: prof1 */ /* File Name: example.c */ /* */ . . . void example_init_module(instance, _INPUT_VALUE, _COUNTER, _CONTINUE) sw_module_ptr *instance; int *_INPUT_VALUE; int *_COUNTER; int *_CONTINUE; { . . . } /* example_init_module */ sw_module_status example_exec(instance, single_step) sw_module_ptr instance; boolean single_step; { . . . } /* example_exec */ sw_module_status example_get_status(instance) sw_module_ptr instance; { . . . }
The following code sample illustrates how the generated code looks when you select Module Procedures Only.