[Fxruby-commits] CVS: FXRuby/swig-interfaces FXWindow.i,1.31,1.32
Status: Inactive
Brought to you by:
lyle
From: Lyle J. <ly...@us...> - 2002-03-26 21:49:53
|
Update of /cvsroot/fxruby/FXRuby/swig-interfaces In directory usw-pr-cvs1:/tmp/cvs-serv2479 Modified Files: FXWindow.i Log Message: Replaced "except" typemap on FXWindow#childAtIndex with an %exception directive. Index: FXWindow.i =================================================================== RCS file: /cvsroot/fxruby/FXRuby/swig-interfaces/FXWindow.i,v retrieving revision 1.31 retrieving revision 1.32 diff -C2 -d -r1.31 -r1.32 *** FXWindow.i 26 Mar 2002 21:38:33 -0000 1.31 --- FXWindow.i 26 Mar 2002 21:49:50 -0000 1.32 *************** *** 76,82 **** %exception FXWindow::FXWindow "$action FXRbRegisterRubyObj(self, result);"; ! %typemap(except) FXWindow* FXWindow::childAtIndex { ! $action; ! if (!$1) { rb_raise(rb_eIndexError, "child window index out of bounds"); } --- 76,82 ---- %exception FXWindow::FXWindow "$action FXRbRegisterRubyObj(self, result);"; ! %exception FXWindow::childAtIndex(FXint index) const { ! $action ! if (!result) { rb_raise(rb_eIndexError, "child window index out of bounds"); } |