ponder icon indicating copy to clipboard operation
ponder copied to clipboard

Add way to generate C FFI

Open billyquith opened this issue 8 years ago • 2 comments

C++ can be difficult to inter-operate with. C is much more simple. Provide a way to use a declared C++ interface via C. This could then be used by things like Luajit and Julia.

billyquith avatar Jul 18 '16 19:07 billyquith

This can now take advantage of the per-function data in the runtime/2.0 refactoring.

billyquith avatar Sep 05 '16 17:09 billyquith

extern "C" typedef void (*cfn)(void);
template <typename T> cfn binder();

billyquith avatar Feb 04 '18 12:02 billyquith