Fix some test-suite warnings

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

View file

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

View file

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

View file

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