blob: ce9f72b7b72e386f00228cbe1bed1b23e7593aab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--- ext/fox/FXRuby.cpp.orig Thu Mar 21 02:49:53 2002
+++ ext/fox/FXRuby.cpp Tue Nov 26 03:44:37 2002
@@ -761,8 +761,8 @@
VALUE retval;
if(FXRbCatchExceptions){
#if RUBY_VERSION_CODE < 170
- retval=rb_rescue2((VALUE(*)()) handle_body, (VALUE) &hArgs,
- (VALUE(*)()) handle_rescue, Qnil,
+ retval=rb_rescue2((VALUE(*)(...)) handle_body, (VALUE) &hArgs,
+ (VALUE(*)(...)) handle_rescue, Qnil,
rb_eStandardError, rb_eNameError, 0);
#else
retval=rb_rescue2((VALUE(*)(ANYARGS)) handle_body, (VALUE) &hArgs,
|