search for: bogus__

Displaying 2 results from an estimated 2 matches for "bogus__".

Did you mean: bogus
2007 Jan 29
0
[856] trunk/wxruby2/swig/classes/AcceleratorTable.i: Fixed compile error on Windows
...e to inform SWIG about the existence </span><span class="cx"> // of the wxAcceleratorEntry class, so that it creates the typed pointer </span><span class="cx"> // definition _p_wxAcceleratorEntry </span><del>-%extend wxAcceleratorTable { VALUE bogus__(wxAcceleratorEntry) { } } </del><ins>+%extend wxAcceleratorTable { VALUE bogus__(wxAcceleratorEntry) { return (VALUE)0; } } </ins><span class="cx"> </span><span class="cx"> </span><span class="cx"> // For constructor, a...
2006 Dec 31
0
[816] trunk/wxruby2: Added AcceleratorTable and AcceleratorTable classes, plus documentation
...wxAcceleratorTable::wxAcceleratorTable(const wxAcceleratorTable& bitmap); + +// this is useless method, just here to inform SWIG about the existence +// of the wxAcceleratorEntry class, so that it creates the typed pointer +// definition _p_wxAcceleratorEntry +%extend wxAcceleratorTable { VALUE bogus__(wxAcceleratorEntry) { } } + + +// For constructor, accepts an array of Wx::AcceleratorEntry objects +%typemap(in,numinputs=1) (int n, wxAcceleratorEntry entries[]) (wxAcceleratorEntry *arr) +{ + if (($input == Qnil) || (TYPE($input) != T_ARRAY)) + { + $1 = 0; + $2 = NULL; + } + else + {...