Expand description
codgen crate that gives proc macros to generate exported functions and FFI related code automatically
Macros§
- callback
- Creates a callback function for the component to call
- native
- Creates a userfunction that calls the native function in component str - for string data struct - for open.mp object pointers
Attribute Macros§
- main
- Creates an entry point function for the component to call when it loads Entry point function is necessary, all the function address is calculated and initialised here