Open vitreo12 opened 4 years ago
Some progress here:
The main issue would be how to deal with omni_alloc
? It would require a conditional (when defined(omni_export_c)
) rewrite to deal with user submitting the void*
function pointers to alloc functions on a per call basis... Too much work for now
The C
version will be a cleaned up version of the Nim C export.
The C++
version will wrap everything in a class.
Export the C generated source as a single header, and define all entry points as
inline
functions.