spicy
spicy copied to clipboard
Add documentation on how to expose C or C++ functions or types to Spicy
We should document how to expose user-provided C or C++ functions and types to Spicy. Typical use cases would be
- implement a function in C++ and directly link it into the HLTO file
- expose a library function in an external library (could be static archive or shared library) to Spicy code, and how to link it
We might also want to document type mappings, or suggest a workflow which inspects generated C++ for Spicy-side declarations to guide users on what types to use.