spicy icon indicating copy to clipboard operation
spicy copied to clipboard

Add documentation on how to expose C or C++ functions or types to Spicy

Open bbannier opened this issue 3 years ago • 0 comments

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.

bbannier avatar Aug 29 '22 15:08 bbannier