Fix some test-suite warnings
This commit is contained in:
parent
a4e63a2cfc
commit
5df10e380e
3 changed files with 5 additions and 5 deletions
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue