C++ swig class => ruby class

Hi. everyone

For example I have these class

class CallbackIF{

virtual void onMouseClick();

class EventDispatcher{
CallbackIF* lpCallback;
void fun(){



so I want to generate CallbackIF a ruby wrapper, exceed it, rewrite the
onMouseClick function, and set it into EventDispatcher. so that I can
implement click callback in ruby code.
is that possible?
If not, how can I have callback-like access?


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs