Identify the source of generated code When BladeSmith generates source code for your DataBlade® module, it uses routines and data structures from various libraries.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.The MI_FPARAM function argument BladeSmith adds an extra argument to all routines it generates: a pointer to an MI_FPARAM structure.Server connection handle BladeSmith calls mi_open() at the beginning of many of the routines it generates. The mi_open() call obtains a database server connection handle, which is a required argument in many DataBlade® API calls.Tracing and error handling BladeSmith adds tracing and error handling code throughout the generated source code if the tracing option is set to True when you generate source code in BladeSmith.Utility functions generated by BladeSmith BladeSmith generates utility functions that it calls from other generated code.
Have feedback?
Google Analytics is used to store comments and ratings. To provide a comment or rating for a topic, click Accept All Cookies or Allow All in Cookie Preferences in the footer of this page.