mirror of https://github.com/swig/swig
Fix some test-suite warnings
This commit is contained in:
parent
a4e63a2cfc
commit
5df10e380e
|
@ -1,7 +1,7 @@
|
|||
%module exception_classname
|
||||
|
||||
%warnfilter(SWIGWARN_RUBY_WRONG_NAME);
|
||||
#ifdef SWIGPHP
|
||||
#if defined(SWIGPHP) || defined(SWIGD)
|
||||
%rename(ExceptionClass) Exception;
|
||||
#endif
|
||||
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,12 +6,12 @@
|
|||
%inline %{
|
||||
class Base {
|
||||
public:
|
||||
void base() {}
|
||||
void baseMethod() {}
|
||||
};
|
||||
|
||||
class Derived : public Base {
|
||||
public:
|
||||
void derived() {}
|
||||
void derivedMethod() {}
|
||||
};
|
||||
|
||||
template <class T>
|
||||
|
|
Loading…
Reference in New Issue