--- ext/fox14/icons_wrap.cpp.orig 2005-10-01 09:01:09.671875000 +0900 +++ ext/fox14/icons_wrap.cpp 2005-10-01 09:05:32.406250000 +0900 @@ -1972,7 +1972,7 @@ static VALUE _wrap_fxcheckJPG(int argc, VALUE *argv, VALUE self) { FXStream *arg1 = 0 ; FXbool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXStream, 1); if (arg1 == NULL) rb_raise(rb_eTypeError, "null reference"); - result = (FXbool)fxcheckJPG(*arg1); vresult = result ? Qtrue : Qfalse; return vresult; } + result = Qfalse; rb_raise(rb_eRuntimeError, "not supported."); vresult = result ? Qtrue : Qfalse; return vresult; } static VALUE _wrap_FXPCXIcon_fileExt(int argc, VALUE *argv, VALUE self) { VALUE result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); result = (VALUE)FXPCXIcon_fileExt(); vresult = result; return vresult; } @@ -2253,7 +2253,7 @@ static VALUE _wrap_fxcheckPNG(int argc, VALUE *argv, VALUE self) { FXStream *arg1 = 0 ; FXbool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXStream, 1); if (arg1 == NULL) rb_raise(rb_eTypeError, "null reference"); - result = (FXbool)fxcheckPNG(*arg1); vresult = result ? Qtrue : Qfalse; return vresult; } + result = Qfalse; rb_raise(rb_eRuntimeError, "not supported."); vresult = result ? Qtrue : Qfalse; return vresult; } static VALUE _wrap_FXPPMIcon_fileExt(int argc, VALUE *argv, VALUE self) { VALUE result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); result = (VALUE)FXPPMIcon_fileExt(); vresult = result; return vresult; } @@ -2807,7 +2807,7 @@ static VALUE _wrap_fxcheckTIF(int argc, VALUE *argv, VALUE self) { FXStream *arg1 = 0 ; FXbool result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_ConvertPtr(argv[0], (void **) &arg1, SWIGTYPE_p_FXStream, 1); if (arg1 == NULL) rb_raise(rb_eTypeError, "null reference"); - result = (FXbool)fxcheckTIF(*arg1); vresult = result ? Qtrue : Qfalse; return vresult; } + result = Qfalse; rb_raise(rb_eRuntimeError, "not supported."); vresult = result ? Qtrue : Qfalse; return vresult; } static VALUE _wrap_FXXBMIcon_fileExt(int argc, VALUE *argv, VALUE self) { VALUE result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); result = (VALUE)FXXBMIcon_fileExt(); vresult = result; return vresult; }