const char *const name
Definition cJSON.h:307
Host API provided to plugins.
Definition zprep_plugin.h:14
const char * filename
Current file name being processed.
Definition zprep_plugin.h:16
FILE * out
Inline output stream (replaces the macro call).
Definition zprep_plugin.h:18
FILE * hoist_out
Hoisted output stream (writes to file scope/header).
Definition zprep_plugin.h:19
int current_line
Current line number.
Definition zprep_plugin.h:17
Plugin definition structure.
Definition zprep_plugin.h:36
ZPluginTranspileFn fn
Pointer to the transpilation function.
Definition zprep_plugin.h:38
void(* ZPluginTranspileFn)(const char *input_body, const ZApi *api)
The Plugin Function Signature.
Definition zprep_plugin.h:30