Displaying 3 results from an estimated 3 matches for "cppself".
2007 Jun 23
0
[1063] trunk/wxruby2/swig/classes/EvtHandler.i: Add a public ''connect'' method for handling arbitary user-defined events
...                   wxEventType eventType)
</ins><span class="cx"> {
</span><span class="cx"> wxEvtHandler *cppSelf = (wxEvtHandler *) 0 ;
</span><span class="cx"> SWIG_ConvertPtr(self, (void **) &cppSelf, SWIGTYPE_p_wxEvtHandler, 1);
</span><span class="lines">@@ -67,11 +89,7 @@
</span><span class="cx"> wxObject* userData = new wxRbCa...
2006 Nov 07
0
[723] trunk/wxruby2: Added WindowCreateEvent and WindowDestroyEvent + event handlers (AF)
..."> void internal_connect(VALUE self, int firstId, int lastId,
</span><span class="cx"> wxEventType eventType)
</span><span class="cx"> {
</span><del>-
</del><span class="cx"> wxEvtHandler *cppSelf = (wxEvtHandler *) 0 ;
</span><span class="cx"> SWIG_ConvertPtr(self, (void **) &cppSelf, SWIGTYPE_p_wxEvtHandler, 1);
</span><span class="cx">
</span><span class="lines">@@ -445,7 +462,7 @@
</span><span class="...
2007 May 29
0
[1035] trunk/wxruby2/swig/classes/EvtHandler.i: Removed a heap of redundant stuff that''s been #if 0''d for a while
...><span class="cx">
</span><span class="cx">
</span><del>-#if 0
-%{
- static VALUE callbacks = Qnil;
-%}
-
-%{
-static void internal_connect(VALUE self, int firstId, int lastId,
- wxEventType eventType)
-{
-
- wxEvtHandler *cppSelf = (wxEvtHandler *) 0 ;
- SWIG_ConvertPtr(self, (void **) &cppSelf, SWIGTYPE_p_wxEvtHandler, 1);
-
- VALUE func = rb_funcall(rb_cProc, rb_intern("new"), 0);
- rb_global_variable(&callbacks);
- if(callbacks == Qnil)
- callbacks = rb_ary_new();
- rb_ary_push(cal...