Fix some test-suite warnings

This commit is contained in:
William S Fulton 2016-10-16 19:10:35 +01:00
parent a4e63a2cfc
commit 5df10e380e
3 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
%module exception_classname
%warnfilter(SWIGWARN_RUBY_WRONG_NAME);
#ifdef SWIGPHP
#if defined(SWIGPHP) || defined(SWIGD)
%rename(ExceptionClass) Exception;
#endif

View File

@ -13,7 +13,7 @@ public class smart_pointer_ignore_runme {
public static void main(String argv[]) {
DerivedPtr d = smart_pointer_ignore.makeDerived();
d.base();
d.derived();
d.baseMethod();
d.derivedMethod();
}
}

View File

@ -6,12 +6,12 @@
%inline %{
class Base {
public:
void base() {}
void baseMethod() {}
};
class Derived : public Base {
public:
void derived() {}
void derivedMethod() {}
};
template <class T>