Open billyquith opened 8 years ago
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.
This can now take advantage of the per-function data in the runtime/2.0 refactoring.
extern "C" typedef void (*cfn)(void); template <typename T> cfn binder();
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.