Visual Studio warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7538 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
21c689c610
commit
da2a914365
5 changed files with 12 additions and 9 deletions
|
|
@ -61,5 +61,5 @@ static void SWIG_AsVal(VALUE obj, int *val)
|
|||
* ------------------------------------------------------------ */
|
||||
|
||||
%typemap(throws) enum SWIGTYPE
|
||||
"rb_exc_raise(rb_exc_new3(rb_eRuntimeError, rb_obj_as_string(INT2NUM($1))));";
|
||||
"(void)$1; rb_exc_raise(rb_exc_new3(rb_eRuntimeError, rb_obj_as_string(INT2NUM($1))));"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue