Callbacks

There are two ways to call from C++ to bridged languages:

  • Use std::function<> parameter to send callback routine to C++
  • Implement C++ interface in bridged language (override C++ virtual functions)

Overriding C++ virtual functions is currently supported by Python and JavaScript bridge, support for other languages coming soon.