Thread: [Fxruby-commits] CVS: FXRuby/ext/fox core_wrap.cpp,1.62.2.6,1.62.2.7 dialogs_wrap.cpp,1.34.2.6,1.34.
Status: Inactive
Brought to you by:
lyle
|
From: Lyle J. <ly...@us...> - 2002-05-06 19:16:50
|
Update of /cvsroot/fxruby/FXRuby/ext/fox
In directory usw-pr-cvs1:/tmp/cvs-serv29682/ext/fox
Modified Files:
Tag: release10
core_wrap.cpp dialogs_wrap.cpp icons_wrap.cpp image_wrap.cpp
layout_wrap.cpp mdi_wrap.cpp opengl_wrap.cpp
scintilla_wrap.cpp ui_wrap.cpp
Log Message:
Replaced %addmethods directives with %extend in a number of SWIG
interface files.
Fixed the default argument values for FXIconDict and FXRbIconDict
constructors (in FXFileDict.i) from "FXIconDict::defaultIconPath" to
just "defaultIconPath"; otherwise SWIG expands this incorrectly.
Index: core_wrap.cpp
===================================================================
RCS file: /cvsroot/fxruby/FXRuby/ext/fox/core_wrap.cpp,v
retrieving revision 1.62.2.6
retrieving revision 1.62.2.7
diff -C2 -d -r1.62.2.6 -r1.62.2.7
*** core_wrap.cpp 30 Apr 2002 19:02:41 -0000 1.62.2.6
--- core_wrap.cpp 6 May 2002 19:16:01 -0000 1.62.2.7
***************
*** 1,5 ****
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
! * Version 1.3.12u-20020429-1612
*
* This file is not intended to be easily readable and contains a number of
--- 1,5 ----
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
! * Version 1.3.12u-20020506-1331
*
[...4326 lines suppressed...]
vresult = INT2NUM(result);
--- 17512,17516 ----
arg3 = NUM2UINT(argv[1]);
arg4 = (void *) SWIG_ConvertPtr(argv[2], 0);
! result = (long)(arg1)->_onDefault(arg2,arg3,arg4);
vresult = INT2NUM(result);
***************
*** 18678,18682 ****
rb_define_const(cFXApp.klass,"ID_LAST", INT2NUM(FXRbApp::ID_LAST));
rb_define_method(cFXApp.klass, "onChoreThreads", VALUEFUNC(_wrap_FXApp_onChoreThreads), -1);
! rb_define_method(cFXApp.klass, "setThreadsEnabled", VALUEFUNC(_wrap_FXApp_setThreadsEnabled), -1);
rb_define_method(cFXApp.klass, "threadsEnabled?", VALUEFUNC(_wrap_FXApp_threadsEnabledq___), -1);
rb_define_method(cFXApp.klass, "setSleepTime", VALUEFUNC(_wrap_FXApp_setSleepTime), -1);
--- 18678,18682 ----
rb_define_const(cFXApp.klass,"ID_LAST", INT2NUM(FXRbApp::ID_LAST));
rb_define_method(cFXApp.klass, "onChoreThreads", VALUEFUNC(_wrap_FXApp_onChoreThreads), -1);
! rb_define_method(cFXApp.klass, "threadsEnabled=", VALUEFUNC(_wrap_FXApp_threadsEnablede___), -1);
rb_define_method(cFXApp.klass, "threadsEnabled?", VALUEFUNC(_wrap_FXApp_threadsEnabledq___), -1);
rb_define_method(cFXApp.klass, "setSleepTime", VALUEFUNC(_wrap_FXApp_setSleepTime), -1);
Index: dialogs_wrap.cpp
===================================================================
RCS file: /cvsroot/fxruby/FXRuby/ext/fox/dialogs_wrap.cpp,v
retrieving revision 1.34.2.6
retrieving revision 1.34.2.7
diff -C2 -d -r1.34.2.6 -r1.34.2.7
*** dialogs_wrap.cpp 30 Apr 2002 19:02:52 -0000 1.34.2.6
--- dialogs_wrap.cpp 6 May 2002 19:16:07 -0000 1.34.2.7
***************
*** 1,5 ****
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
! * Version 1.3.12u-20020429-1612
*
* This file is not intended to be easily readable and contains a number of
--- 1,5 ----
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
! * Version 1.3.12u-20020506-1331
*
[...2606 lines suppressed...]
vresult = result ? Qtrue : Qfalse;
--- 10582,10586 ----
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
arg1 = (FXRbMessageBox *) SWIG_ConvertPtr(self, SWIGTYPE_p_FXRbMessageBox);
! result = (FXbool)((FXRbMessageBox const *)arg1)->_doesSaveUnder();
vresult = result ? Qtrue : Qfalse;
***************
*** 10656,10660 ****
arg2 = NUM2UINT(argv[0]);
}
! result = (FXuint )(arg1)->_execute(arg2);
vresult = UINT2NUM(result);
--- 10656,10660 ----
arg2 = NUM2UINT(argv[0]);
}
! result = (FXuint)(arg1)->_execute(arg2);
vresult = UINT2NUM(result);
Index: icons_wrap.cpp
===================================================================
RCS file: /cvsroot/fxruby/FXRuby/ext/fox/icons_wrap.cpp,v
retrieving revision 1.37.2.6
retrieving revision 1.37.2.7
diff -C2 -d -r1.37.2.6 -r1.37.2.7
*** icons_wrap.cpp 30 Apr 2002 19:02:54 -0000 1.37.2.6
--- icons_wrap.cpp 6 May 2002 19:16:08 -0000 1.37.2.7
***************
*** 1,5 ****
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
! * Version 1.3.12u-20020429-1612
*
* This file is not intended to be easily readable and contains a number of
--- 1,5 ----
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
! * Version 1.3.12u-20020506-1331
*
* This file is not intended to be easily readable and contains a number of
***************
*** 637,641 ****
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
arg1 = (FXIcon *) SWIG_ConvertPtr(self, SWIGTYPE_p_FXIcon);
! result = (FXColor )((FXIcon const *)arg1)->getTransparentColor();
vresult = UINT2NUM(result);
--- 637,641 ----
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
arg1 = (FXIcon *) SWIG_ConvertPtr(self, SWIGTYPE_p_FXIcon);
! result = (FXColor)((FXIcon const *)arg1)->getTransparentColor();
vresult = UINT2NUM(result);
***************
*** 733,737 ****
arg3 = NUM2UINT(argv[1]);
arg4 = (void *) SWIG_ConvertPtr(argv[2], 0);
! result = (long )(arg1)->_onDefault(arg2,arg3,arg4);
vresult = INT2NUM(result);
--- 733,737 ----
arg3 = NUM2UINT(argv[1]);
arg4 = (void *) SWIG_ConvertPtr(argv[2], 0);
! result = (long)(arg1)->_onDefault(arg2,arg3,arg4);
vresult = INT2NUM(result);
***************
*** 1087,1091 ****
arg3 = NUM2UINT(argv[1]);
arg4 = (void *) SWIG_ConvertPtr(argv[2], 0);
! result = (long )(arg1)->_onDefault(arg2,arg3,arg4);
vresult = INT2NUM(result);
--- 1087,1091 ----
arg3 = NUM2UINT(argv[1]);
arg4 = (void *) SWIG_ConvertPtr(argv[2], 0);
! result = (long)(arg1)->_onDefault(arg2,arg3,arg4);
vresult = INT2NUM(result);
***************
*** 1326,1330 ****
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
arg1 = (FXStream *) SWIG_ConvertPtr(argv[0], SWIGTYPE_p_FXStream);
! result = (VALUE )fxloadBMP(*arg1);
vresult = result;
--- 1326,1330 ----
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
arg1 = (FXStream *) SWIG_ConvertPtr(argv[0], SWIGTYPE_p_FXStream);
! result = (VALUE)fxloadBMP(*arg1);
vresult = result;
***************
*** 1357,1361 ****
arg4 = NUM2INT(argv[3]);
arg5 = NUM2INT(argv[4]);
! result = (FXbool )fxsaveBMP(*arg1,(FXuchar const *)arg2,arg3,arg4,arg5);
vresult = result ? Qtrue : Qfalse;
--- 1357,1361 ----
arg4 = NUM2INT(argv[3]);
arg5 = NUM2INT(argv[4]);
! result = (FXbool)fxsaveBMP(*arg1,(FXuchar const *)arg2,arg3,arg4,arg5);
vresult = result ? Qtrue : Qfalse;
***************
*** 1488,1492 ****
arg3 = NUM2UINT(argv[1]);
arg4 = (void *) SWIG_ConvertPtr(argv[2], 0);
! result = (long )(arg1)->_onDefault(arg2,arg3,arg4);
vresult = INT2NUM(result);
--- 1488,1492 ----
arg3 = NUM2UINT(argv[1]);
arg4 = (void *) SWIG_ConvertPtr(argv[2], 0);
! result = (long)(arg1)->_onDefault(arg2,arg3,arg4);
vresult = INT2NUM(result);
***************
*** 1842,1846 ****
arg3 = NUM2UINT(argv[1]);
arg4 = (void *) SWIG_ConvertPtr(argv[2], 0);
! result = (long )(arg1)->_onDefault(arg2,arg3,arg4);
vresult = INT2NUM(result);
--- 1842,1846 ----
arg3 = NUM2UINT(argv[1]);
arg4 = (void *) SWIG_ConvertPtr(argv[2], 0);
! result = (long)(arg1)->_onDefault(arg2,arg3,arg4);
vresult = INT2NUM(result);
***************
*** 2081,2085 ****
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
arg1 = (FXStream *) SWIG_ConvertPtr(argv[0], SWIGTYPE_p_FXStream);
! result = (VALUE )fxloadICO(*arg1);
vresult = result;
--- 2081,2085 ----
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
arg1 = (FXStream *) SWIG_ConvertPtr(argv[0], SWIGTYPE_p_FXStream);
! result = (VALUE)fxloadICO(*arg1);
vresult = result;
***************
*** 2112,2116 ****
arg4 = NUM2INT(argv[3]);
arg5 = NUM2INT(argv[4]);
! result = (FXbool )fxsaveICO(*arg1,(FXuchar const *)arg2,arg3,arg4,arg5);
vresult = result ? Qtrue : Qfalse;
--- 2112,2116 ----
arg4 = NUM2INT(argv[3]);
arg5 = NUM2INT(argv[4]);
! result = (FXbool)fxsaveICO(*arg1,(FXuchar const *)arg2,arg3,arg4,arg5);
vresult = result ? Qtrue : Qfalse;
***************
*** 2193,2197 ****
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
arg1 = (FXJPGIcon *) SWIG_ConvertPtr(self, SWIGTYPE_p_FXJPGIcon);
! result = (FXint )((FXJPGIcon const *)arg1)->getQuality();
vresult = INT2NUM(result);
--- 2193,2197 ----
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
arg1 = (FXJPGIcon *) SWIG_ConvertPtr(self, SWIGTYPE_p_FXJPGIcon);
! result = (FXint)((FXJPGIcon const *)arg1)->getQuality();
vresult = INT2NUM(result);
***************
*** 2274,2278 ****
arg3 = NUM2UINT(argv[1]);
arg4 = (void *) SWIG_ConvertPtr(argv[2], 0);
! result = (long )(arg1)->_onDefault(arg2,arg3,arg4);
vresult = INT2NUM(result);
--- 2274,2278 ----
arg3 = NUM2UINT(argv[1]);
arg4 = (void *) SWIG_ConvertPtr(argv[2], 0);
! result = (long)(arg1)->_onDefault(arg2,arg3,arg4);
vresult = INT2NUM(result);
***************
*** 2628,2632 ****
arg3 = NUM2UINT(argv[1]);
arg4 = (void *) SWIG_ConvertPtr(argv[2], 0);
! result = (long )(arg1)->_onDefault(arg2,arg3,arg4);
vresult = INT2NUM(result);
--- 2628,2632 ----
arg3 = NUM2UINT(argv[1]);
arg4 = (void *) SWIG_ConvertPtr(argv[2], 0);
! result = (long)(arg1)->_onDefault(arg2,arg3,arg4);
vresult = INT2NUM(result);
***************
*** 2867,2871 ****
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
arg1 = (FXStream *) SWIG_ConvertPtr(argv[0], SWIGTYPE_p_FXStream);
! result = (VALUE )fxloadPCX(*arg1);
vresult = result;
--- 2867,2871 ----
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
arg1 = (FXStream *) SWIG_ConvertPtr(argv[0], SWIGTYPE_p_FXStream);
! result = (VALUE)fxloadPCX(*arg1);
vresult = result;
***************
*** 2898,2902 ****
arg4 = NUM2INT(argv[3]);
arg5 = NUM2INT(argv[4]);
! result = (FXbool )fxsavePCX(*arg1,(FXuchar const *)arg2,arg3,arg4,arg5);
vresult = result ? Qtrue : Qfalse;
--- 2898,2902 ----
arg4 = NUM2INT(argv[3]);
arg5 = NUM2INT(argv[4]);
! result = (FXbool)fxsavePCX(*arg1,(FXuchar const *)arg2,arg3,arg4,arg5);
vresult = result ? Qtrue : Qfalse;
***************
*** 3059,3063 ****
arg3 = NUM2UINT(argv[1]);
arg4 = (void *) SWIG_ConvertPtr(argv[2], 0);
! result = (long )(arg1)->_onDefault(arg2,arg3,arg4);
vresult = INT2NUM(result);
--- 3059,3063 ----
arg3 = NUM2UINT(argv[1]);
arg4 = (void *) SWIG_ConvertPtr(argv[2], 0);
! result = (long)(arg1)->_onDefault(arg2,arg3,arg4);
vresult = INT2NUM(result);
***************
*** 3298,3302 ****
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
arg1 = (FXStream *) SWIG_ConvertPtr(argv[0], SWIGTYPE_p_FXStream);
! result = (VALUE )fxloadPNG(*arg1);
vresult = result;
--- 3298,3302 ----
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
arg1 = (FXStream *) SWIG_ConvertPtr(argv[0], SWIGTYPE_p_FXStream);
! result = (VALUE)fxloadPNG(*arg1);
vresult = result;
***************
*** 3329,3333 ****
arg4 = NUM2INT(argv[3]);
arg5 = NUM2INT(argv[4]);
! result = (FXbool )fxsavePNG(*arg1,(FXuchar const *)arg2,arg3,arg4,arg5);
vresult = result ? Qtrue : Qfalse;
--- 3329,3333 ----
arg4 = NUM2INT(argv[3]);
arg5 = NUM2INT(argv[4]);
! result = (FXbool)fxsavePNG(*arg1,(FXuchar const *)arg2,arg3,arg4,arg5);
vresult = result ? Qtrue : Qfalse;
***************
*** 3460,3464 ****
arg3 = NUM2UINT(argv[1]);
arg4 = (void *) SWIG_ConvertPtr(argv[2], 0);
! result = (long )(arg1)->_onDefault(arg2,arg3,arg4);
vresult = INT2NUM(result);
--- 3460,3464 ----
arg3 = NUM2UINT(argv[1]);
arg4 = (void *) SWIG_ConvertPtr(argv[2], 0);
! result = (long)(arg1)->_onDefault(arg2,arg3,arg4);
vresult = INT2NUM(result);
***************
*** 3814,3818 ****
arg3 = NUM2UINT(argv[1]);
arg4 = (void *) SWIG_ConvertPtr(argv[2], 0);
! result = (long )(arg1)->_onDefault(arg2,arg3,arg4);
vresult = INT2NUM(result);
--- 3814,3818 ----
arg3 = NUM2UINT(argv[1]);
arg4 = (void *) SWIG_ConvertPtr(argv[2], 0);
! result = (long)(arg1)->_onDefault(arg2,arg3,arg4);
vresult = INT2NUM(result);
***************
*** 4118,4122 ****
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
arg1 = (FXTIFIcon *) SWIG_ConvertPtr(self, SWIGTYPE_p_FXTIFIcon);
! result = (FXuint )((FXTIFIcon const *)arg1)->getCodec();
vresult = UINT2NUM(result);
--- 4118,4122 ----
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
arg1 = (FXTIFIcon *) SWIG_ConvertPtr(self, SWIGTYPE_p_FXTIFIcon);
! result = (FXuint)((FXTIFIcon const *)arg1)->getCodec();
vresult = UINT2NUM(result);
***************
*** 4199,4203 ****
arg3 = NUM2UINT(argv[1]);
arg4 = (void *) SWIG_ConvertPtr(argv[2], 0);
! result = (long )(arg1)->_onDefault(arg2,arg3,arg4);
vresult = INT2NUM(result);
--- 4199,4203 ----
arg3 = NUM2UINT(argv[1]);
arg4 = (void *) SWIG_ConvertPtr(argv[2], 0);
! result = (long)(arg1)->_onDefault(arg2,arg3,arg4);
vresult = INT2NUM(result);
***************
*** 4561,4565 ****
arg3 = NUM2UINT(argv[1]);
arg4 = (void *) SWIG_ConvertPtr(argv[2], 0);
! result = (long )(arg1)->_onDefault(arg2,arg3,arg4);
vresult = INT2NUM(result);
--- 4561,4565 ----
arg3 = NUM2UINT(argv[1]);
arg4 = (void *) SWIG_ConvertPtr(argv[2], 0);
! result = (long)(arg1)->_onDefault(arg2,arg3,arg4);
vresult = INT2NUM(result);
***************
*** 4800,4804 ****
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
arg1 = (FXStream *) SWIG_ConvertPtr(argv[0], SWIGTYPE_p_FXStream);
! result = (VALUE )fxloadXPM(*arg1);
vresult = result;
--- 4800,4804 ----
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
arg1 = (FXStream *) SWIG_ConvertPtr(argv[0], SWIGTYPE_p_FXStream);
! result = (VALUE)fxloadXPM(*arg1);
vresult = result;
***************
*** 4831,4835 ****
arg4 = NUM2INT(argv[3]);
arg5 = NUM2INT(argv[4]);
! result = (FXbool )fxsaveXPM(*arg1,(FXuchar const *)arg2,arg3,arg4,arg5);
vresult = result ? Qtrue : Qfalse;
--- 4831,4835 ----
arg4 = NUM2INT(argv[3]);
arg5 = NUM2INT(argv[4]);
! result = (FXbool)fxsaveXPM(*arg1,(FXuchar const *)arg2,arg3,arg4,arg5);
vresult = result ? Qtrue : Qfalse;
Index: image_wrap.cpp
===================================================================
RCS file: /cvsroot/fxruby/FXRuby/ext/fox/image_wrap.cpp,v
retrieving revision 1.39.2.6
retrieving revision 1.39.2.7
diff -C2 -d -r1.39.2.6 -r1.39.2.7
*** image_wrap.cpp 30 Apr 2002 19:02:54 -0000 1.39.2.6
--- image_wrap.cpp 6 May 2002 19:16:08 -0000 1.39.2.7
***************
*** 1,5 ****
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
! * Version 1.3.12u-20020429-1612
*
* This file is not intended to be easily readable and contains a number of
--- 1,5 ----
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
! * Version 1.3.12u-20020506-1331
*
* This file is not intended to be easily readable and contains a number of
***************
*** 628,632 ****
arg2 = NUM2INT(argv[0]);
arg3 = NUM2INT(argv[1]);
! result = (FXbool )((FXBitmap const *)arg1)->getPixel(arg2,arg3);
vresult = result ? Qtrue : Qfalse;
--- 628,632 ----
arg2 = NUM2INT(argv[0]);
arg3 = NUM2INT(argv[1]);
! result = (FXbool)((FXBitmap const *)arg1)->getPixel(arg2,arg3);
vresult = result ? Qtrue : Qfalse;
***************
*** 806,810 ****
arg3 = NUM2UINT(argv[1]);
arg4 = (void *) SWIG_ConvertPtr(argv[2], 0);
! result = (long )(arg1)->_onDefault(arg2,arg3,arg4);
vresult = INT2NUM(result);
--- 806,810 ----
arg3 = NUM2UINT(argv[1]);
arg4 = (void *) SWIG_ConvertPtr(argv[2], 0);
! result = (long)(arg1)->_onDefault(arg2,arg3,arg4);
vresult = INT2NUM(result);
***************
*** 998,1002 ****
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
arg1 = (FXImage *) SWIG_ConvertPtr(self, SWIGTYPE_p_FXImage);
! result = (VALUE )FXImage_getData((FXImage const *)arg1);
vresult = result;
--- 998,1002 ----
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
arg1 = (FXImage *) SWIG_ConvertPtr(self, SWIGTYPE_p_FXImage);
! result = (VALUE)FXImage_getData((FXImage const *)arg1);
vresult = result;
***************
*** 1014,1018 ****
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
arg1 = (FXImage *) SWIG_ConvertPtr(self, SWIGTYPE_p_FXImage);
! result = (FXuint )((FXImage const *)arg1)->getOptions();
vresult = UINT2NUM(result);
--- 1014,1018 ----
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
arg1 = (FXImage *) SWIG_ConvertPtr(self, SWIGTYPE_p_FXImage);
! result = (FXuint)((FXImage const *)arg1)->getOptions();
vresult = UINT2NUM(result);
***************
*** 1045,1049 ****
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
arg1 = (FXImage *) SWIG_ConvertPtr(self, SWIGTYPE_p_FXImage);
! result = (FXint )((FXImage const *)arg1)->getChannels();
vresult = INT2NUM(result);
--- 1045,1049 ----
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
arg1 = (FXImage *) SWIG_ConvertPtr(self, SWIGTYPE_p_FXImage);
! result = (FXint)((FXImage const *)arg1)->getChannels();
vresult = INT2NUM(result);
***************
*** 1065,1069 ****
arg2 = NUM2INT(argv[0]);
arg3 = NUM2INT(argv[1]);
! result = (FXColor )((FXImage const *)arg1)->getPixel(arg2,arg3);
vresult = UINT2NUM(result);
--- 1065,1069 ----
arg2 = NUM2INT(argv[0]);
arg3 = NUM2INT(argv[1]);
! result = (FXColor)((FXImage const *)arg1)->getPixel(arg2,arg3);
vresult = UINT2NUM(result);
***************
*** 1383,1387 ****
arg3 = NUM2UINT(argv[1]);
arg4 = (void *) SWIG_ConvertPtr(argv[2], 0);
! result = (long )(arg1)->_onDefault(arg2,arg3,arg4);
vresult = INT2NUM(result);
--- 1383,1387 ----
arg3 = NUM2UINT(argv[1]);
arg4 = (void *) SWIG_ConvertPtr(argv[2], 0);
! result = (long)(arg1)->_onDefault(arg2,arg3,arg4);
vresult = INT2NUM(result);
***************
*** 1729,1733 ****
arg3 = NUM2UINT(argv[1]);
arg4 = (void *) SWIG_ConvertPtr(argv[2], 0);
! result = (long )(arg1)->_onDefault(arg2,arg3,arg4);
vresult = INT2NUM(result);
--- 1729,1733 ----
arg3 = NUM2UINT(argv[1]);
arg4 = (void *) SWIG_ConvertPtr(argv[2], 0);
! result = (long)(arg1)->_onDefault(arg2,arg3,arg4);
vresult = INT2NUM(result);
***************
*** 2075,2079 ****
arg3 = NUM2UINT(argv[1]);
arg4 = (void *) SWIG_ConvertPtr(argv[2], 0);
! result = (long )(arg1)->_onDefault(arg2,arg3,arg4);
vresult = INT2NUM(result);
--- 2075,2079 ----
arg3 = NUM2UINT(argv[1]);
arg4 = (void *) SWIG_ConvertPtr(argv[2], 0);
! result = (long)(arg1)->_onDefault(arg2,arg3,arg4);
vresult = INT2NUM(result);
***************
*** 2421,2425 ****
arg3 = NUM2UINT(argv[1]);
arg4 = (void *) SWIG_ConvertPtr(argv[2], 0);
! result = (long )(arg1)->_onDefault(arg2,arg3,arg4);
vresult = INT2NUM(result);
--- 2421,2425 ----
arg3 = NUM2UINT(argv[1]);
arg4 = (void *) SWIG_ConvertPtr(argv[2], 0);
! result = (long)(arg1)->_onDefault(arg2,arg3,arg4);
vresult = INT2NUM(result);
***************
*** 2721,2725 ****
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
arg1 = (FXJPGImage *) SWIG_ConvertPtr(self, SWIGTYPE_p_FXJPGImage);
! result = (FXint )((FXJPGImage const *)arg1)->getQuality();
vresult = INT2NUM(result);
--- 2721,2725 ----
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
arg1 = (FXJPGImage *) SWIG_ConvertPtr(self, SWIGTYPE_p_FXJPGImage);
! result = (FXint)((FXJPGImage const *)arg1)->getQuality();
vresult = INT2NUM(result);
***************
*** 2798,2802 ****
arg3 = NUM2UINT(argv[1]);
arg4 = (void *) SWIG_ConvertPtr(argv[2], 0);
! result = (long )(arg1)->_onDefault(arg2,arg3,arg4);
vresult = INT2NUM(result);
--- 2798,2802 ----
arg3 = NUM2UINT(argv[1]);
arg4 = (void *) SWIG_ConvertPtr(argv[2], 0);
! result = (long)(arg1)->_onDefault(arg2,arg3,arg4);
vresult = INT2NUM(result);
***************
*** 3037,3041 ****
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
arg1 = (FXStream *) SWIG_ConvertPtr(argv[0], SWIGTYPE_p_FXStream);
! result = (VALUE )fxloadJPG(*arg1);
vresult = result;
--- 3037,3041 ----
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
arg1 = (FXStream *) SWIG_ConvertPtr(argv[0], SWIGTYPE_p_FXStream);
! result = (VALUE)fxloadJPG(*arg1);
vresult = result;
***************
*** 3063,3067 ****
arg5 = NUM2INT(argv[4]);
arg6 = NUM2INT(argv[5]);
! result = (FXbool )fxsaveJPG(*arg1,arg2,arg3,arg4,arg5,arg6);
vresult = result ? Qtrue : Qfalse;
--- 3063,3067 ----
arg5 = NUM2INT(argv[4]);
arg6 = NUM2INT(argv[5]);
! result = (FXbool)fxsaveJPG(*arg1,arg2,arg3,arg4,arg5,arg6);
vresult = result ? Qtrue : Qfalse;
***************
*** 3186,3190 ****
arg3 = NUM2UINT(argv[1]);
arg4 = (void *) SWIG_ConvertPtr(argv[2], 0);
! result = (long )(arg1)->_onDefault(arg2,arg3,arg4);
vresult = INT2NUM(result);
--- 3186,3190 ----
arg3 = NUM2UINT(argv[1]);
arg4 = (void *) SWIG_ConvertPtr(argv[2], 0);
! result = (long)(arg1)->_onDefault(arg2,arg3,arg4);
vresult = INT2NUM(result);
***************
*** 3562,3566 ****
arg3 = NUM2UINT(argv[1]);
arg4 = (void *) SWIG_ConvertPtr(argv[2], 0);
! result = (long )(arg1)->_onDefault(arg2,arg3,arg4);
vresult = INT2NUM(result);
--- 3562,3566 ----
arg3 = NUM2UINT(argv[1]);
arg4 = (void *) SWIG_ConvertPtr(argv[2], 0);
! result = (long)(arg1)->_onDefault(arg2,arg3,arg4);
vresult = INT2NUM(result);
***************
*** 3908,3912 ****
arg3 = NUM2UINT(argv[1]);
arg4 = (void *) SWIG_ConvertPtr(argv[2], 0);
! result = (long )(arg1)->_onDefault(arg2,arg3,arg4);
vresult = INT2NUM(result);
--- 3908,3912 ----
arg3 = NUM2UINT(argv[1]);
arg4 = (void *) SWIG_ConvertPtr(argv[2], 0);
! result = (long)(arg1)->_onDefault(arg2,arg3,arg4);
vresult = INT2NUM(result);
***************
*** 4147,4151 ****
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
arg1 = (FXStream *) SWIG_ConvertPtr(argv[0], SWIGTYPE_p_FXStream);
! result = (VALUE )fxloadRGB(*arg1);
vresult = result;
--- 4147,4151 ----
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
arg1 = (FXStream *) SWIG_ConvertPtr(argv[0], SWIGTYPE_p_FXStream);
! result = (VALUE)fxloadRGB(*arg1);
vresult = result;
***************
*** 4178,4182 ****
arg4 = NUM2INT(argv[3]);
arg5 = NUM2INT(argv[4]);
! result = (FXbool )fxsaveRGB(*arg1,(FXuchar const *)arg2,arg3,arg4,arg5);
vresult = result ? Qtrue : Qfalse;
--- 4178,4182 ----
arg4 = NUM2INT(argv[3]);
arg5 = NUM2INT(argv[4]);
! result = (FXbool)fxsaveRGB(*arg1,(FXuchar const *)arg2,arg3,arg4,arg5);
vresult = result ? Qtrue : Qfalse;
***************
*** 4301,4305 ****
arg3 = NUM2UINT(argv[1]);
arg4 = (void *) SWIG_ConvertPtr(argv[2], 0);
! result = (long )(arg1)->_onDefault(arg2,arg3,arg4);
vresult = INT2NUM(result);
--- 4301,4305 ----
arg3 = NUM2UINT(argv[1]);
arg4 = (void *) SWIG_ConvertPtr(argv[2], 0);
! result = (long)(arg1)->_onDefault(arg2,arg3,arg4);
vresult = INT2NUM(result);
***************
*** 4540,4544 ****
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
arg1 = (FXStream *) SWIG_ConvertPtr(argv[0], SWIGTYPE_p_FXStream);
! result = (VALUE )fxloadTGA(*arg1);
vresult = result;
--- 4540,4544 ----
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
arg1 = (FXStream *) SWIG_ConvertPtr(argv[0], SWIGTYPE_p_FXStream);
! result = (VALUE)fxloadTGA(*arg1);
vresult = result;
***************
*** 4571,4575 ****
arg4 = NUM2INT(argv[3]);
arg5 = NUM2INT(argv[4]);
! result = (FXbool )fxsaveTGA(*arg1,(FXuchar const *)arg2,arg3,arg4,arg5);
vresult = result ? Qtrue : Qfalse;
--- 4571,4575 ----
arg4 = NUM2INT(argv[3]);
arg5 = NUM2INT(argv[4]);
! result = (FXbool)fxsaveTGA(*arg1,(FXuchar const *)arg2,arg3,arg4,arg5);
vresult = result ? Qtrue : Qfalse;
***************
*** 4648,4652 ****
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
arg1 = (FXTIFImage *) SWIG_ConvertPtr(self, SWIGTYPE_p_FXTIFImage);
! result = (FXuint )((FXTIFImage const *)arg1)->getCodec();
vresult = UINT2NUM(result);
--- 4648,4652 ----
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
arg1 = (FXTIFImage *) SWIG_ConvertPtr(self, SWIGTYPE_p_FXTIFImage);
! result = (FXuint)((FXTIFImage const *)arg1)->getCodec();
vresult = UINT2NUM(result);
***************
*** 4755,4759 ****
arg3 = NUM2UINT(argv[1]);
arg4 = (void *) SWIG_ConvertPtr(argv[2], 0);
! result = (long )(arg1)->_onDefault(arg2,arg3,arg4);
vresult = INT2NUM(result);
--- 4755,4759 ----
arg3 = NUM2UINT(argv[1]);
arg4 = (void *) SWIG_ConvertPtr(argv[2], 0);
! result = (long)(arg1)->_onDefault(arg2,arg3,arg4);
vresult = INT2NUM(result);
***************
*** 4994,4998 ****
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
arg1 = (FXStream *) SWIG_ConvertPtr(argv[0], SWIGTYPE_p_FXStream);
! result = (VALUE )fxloadTIF(*arg1);
vresult = result;
--- 4994,4998 ----
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
arg1 = (FXStream *) SWIG_ConvertPtr(argv[0], SWIGTYPE_p_FXStream);
! result = (VALUE)fxloadTIF(*arg1);
vresult = result;
***************
*** 5027,5031 ****
arg5 = NUM2INT(argv[4]);
arg6 = NUM2USHRT(argv[5]);
! result = (FXbool )fxsaveTIF(*arg1,(FXuchar const *)arg2,arg3,arg4,arg5,arg6);
vresult = result ? Qtrue : Qfalse;
--- 5027,5031 ----
arg5 = NUM2INT(argv[4]);
arg6 = NUM2USHRT(argv[5]);
! result = (FXbool)fxsaveTIF(*arg1,(FXuchar const *)arg2,arg3,arg4,arg5,arg6);
vresult = result ? Qtrue : Qfalse;
***************
*** 5158,5162 ****
arg3 = NUM2UINT(argv[1]);
arg4 = (void *) SWIG_ConvertPtr(argv[2], 0);
! result = (long )(arg1)->_onDefault(arg2,arg3,arg4);
vresult = INT2NUM(result);
--- 5158,5162 ----
arg3 = NUM2UINT(argv[1]);
arg4 = (void *) SWIG_ConvertPtr(argv[2], 0);
! result = (long)(arg1)->_onDefault(arg2,arg3,arg4);
vresult = INT2NUM(result);
Index: layout_wrap.cpp
===================================================================
RCS file: /cvsroot/fxruby/FXRuby/ext/fox/layout_wrap.cpp,v
retrieving revision 1.8.2.6
retrieving revision 1.8.2.7
diff -C2 -d -r1.8.2.6 -r1.8.2.7
*** layout_wrap.cpp 30 Apr 2002 19:02:55 -0000 1.8.2.6
--- layout_wrap.cpp 6 May 2002 19:16:09 -0000 1.8.2.7
***************
*** 1,5 ****
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
! * Version 1.3.12u-20020429-1612
*
* This file is not intended to be easily readable and contains a number of
--- 1,5 ----
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
! * Version 1.3.12u-20020506-1331
*
[...1931 lines suppressed...]
vresult = result ? Qtrue : Qfalse;
--- 8578,8582 ----
arg2 = NUM2INT(argv[0]);
arg3 = NUM2INT(argv[1]);
! result = (FXbool)((FXRbStatusbar const *)arg1)->_contains(arg2,arg3);
vresult = result ? Qtrue : Qfalse;
***************
*** 8594,8598 ****
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc);
arg1 = (FXRbStatusbar *) SWIG_ConvertPtr(self, SWIGTYPE_p_FXRbStatusbar);
! result = (FXbool )((...
[truncated message content] |