Home | Previous Page | Next Page   Programming DataBlade Module Routines in C > Using Generated Code >

Comments in Generated Code

BladeSmith adds comments to the code it generates. Each routine begins with a prologue that describes the purpose of the routine, its arguments, and its return value. Comments throughout the code describe variable declarations and the results of generated C statements and routine calls.

In comments at the beginning and end of each generated routine, BladeSmith stores information it uses when regenerating source code. The prologue includes a routine ID. A comment at the end of the routine contains a calculated checksum.

Warning:
Do not modify either of these comments; BladeSmith uses them to merge your edits into the regenerated code.

BladeSmith adds a Gen_ prefix to all variable names and routine names you did not create or explicitly define in BladeSmith: for example, utility functions and the Gen_Con connection argument.

Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]