|
Zen-C
|
#include <stddef.h>#include <stdio.h>

Go to the source code of this file.
Data Structures | |
| struct | ZApi |
| Host API provided to plugins. More... | |
| struct | ZPlugin |
| Plugin definition structure. More... | |
Typedefs | |
| typedef void(* | ZPluginTranspileFn) (const char *input_body, const ZApi *api) |
| The Plugin Function Signature. | |
| typedef ZPlugin *(* | ZPluginInitFn) (void) |
| Signature for the plugin entry point. | |
| typedef ZPlugin *(* ZPluginInitFn) (void) |
Signature for the plugin entry point.
Dynamic libraries must export a function named z_init matching this signature.
| typedef void(* ZPluginTranspileFn) (const char *input_body, const ZApi *api) |
The Plugin Function Signature.
Plugins must implement a function with this signature to handle transpilation.
| input_body | The raw text content inside the plugin call. |
| api | Pointer to the host API structure. |