Update of /cvsroot/fxruby/FXRuby/ext/fox
In directory usw-pr-cvs1:/tmp/cvs-serv3078
Modified Files:
FXRuby.cpp
Log Message:
Modified call to rb_rescue2() to match Ruby 1.6.7 prototype. Thanks to Bil
Kleb for catching this one.
Index: FXRuby.cpp
===================================================================
RCS file: /cvsroot/fxruby/FXRuby/ext/fox/FXRuby.cpp,v
retrieving revision 1.36
retrieving revision 1.37
diff -C2 -d -r1.36 -r1.37
*** FXRuby.cpp 20 Mar 2002 17:49:53 -0000 1.36
--- FXRuby.cpp 1 Apr 2002 14:55:55 -0000 1.37
***************
*** 761,765 ****
VALUE retval;
if(FXRbCatchExceptions){
! #if RUBY_VERSION_CODE < 170
retval=rb_rescue2((VALUE(*)()) handle_body, (VALUE) &hArgs,
(VALUE(*)()) handle_rescue, Qnil,
--- 761,765 ----
VALUE retval;
if(FXRbCatchExceptions){
! #if RUBY_VERSION_CODE < 167
retval=rb_rescue2((VALUE(*)()) handle_body, (VALUE) &hArgs,
(VALUE(*)()) handle_rescue, Qnil,
|