ruby warning suppression
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9267 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
7236bc3bb3
commit
d66494c1b1
2 changed files with 2 additions and 2 deletions
|
|
@ -49,7 +49,7 @@ typedef struct _Foo {
|
||||||
%}
|
%}
|
||||||
|
|
||||||
|
|
||||||
%warnfilter(SWIGWARN_RUBY_WRONG_NAME) iFoo; /* Ruby, wrong constant name */
|
%warnfilter(SWIGWARN_RUBY_WRONG_NAME) _iFoo;
|
||||||
|
|
||||||
#ifndef __cplusplus
|
#ifndef __cplusplus
|
||||||
%inline %{
|
%inline %{
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ class ex2 : public myException
|
||||||
%}
|
%}
|
||||||
|
|
||||||
%inline %{
|
%inline %{
|
||||||
class impl
|
class Impl
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
void f1() throw (myException) { ex1 e; throw e; }
|
void f1() throw (myException) { ex1 e; throw e; }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue