|
Zen-C
|
Host API provided to plugins. More...
#include <zprep_plugin.h>
Data Fields | |
| const char * | filename |
| Current file name being processed. | |
| int | current_line |
| Current line number. | |
| FILE * | out |
| Inline output stream (replaces the macro call). | |
| FILE * | hoist_out |
| Hoisted output stream (writes to file scope/header). | |
Host API provided to plugins.
Plugins use this structure to interact with the compiler/codegen environment.
| int ZApi::current_line |
Current line number.
| const char* ZApi::filename |
Current file name being processed.
| FILE* ZApi::hoist_out |
Hoisted output stream (writes to file scope/header).
| FILE* ZApi::out |
Inline output stream (replaces the macro call).