mirror of https://github.com/swig/swig
Remove unused SWIG_NO_OVERLOAD macro from testcases
This commit is contained in:
parent
f4644d7c30
commit
4f4147a779
|
@ -19,8 +19,6 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#ifndef SWIG_NO_OVERLOAD
|
|
||||||
%immutable Spam::type;
|
%immutable Spam::type;
|
||||||
|
|
||||||
%inline %{
|
%inline %{
|
||||||
|
@ -130,8 +128,6 @@ static char *bar(void *[SIZE]) {
|
||||||
|
|
||||||
%}
|
%}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
%inline {
|
%inline {
|
||||||
class ClassA
|
class ClassA
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
// A complicated test of overloaded functions
|
// A complicated test of overloaded functions
|
||||||
%module overload_complicated
|
%module overload_complicated
|
||||||
|
|
||||||
#ifndef SWIG_NO_OVERLOAD
|
|
||||||
|
|
||||||
// Different overloaded warning filters needed for scripting languages (eg Python) and for statically typed languages (eg C#).
|
// Different overloaded warning filters needed for scripting languages (eg Python) and for statically typed languages (eg C#).
|
||||||
%warnfilter(509, 516) Pop::Pop;
|
%warnfilter(509, 516) Pop::Pop;
|
||||||
%warnfilter(509, 516) Pop::hip;
|
%warnfilter(509, 516) Pop::hip;
|
||||||
|
@ -69,6 +67,3 @@ int muzak(int& i) { return 3003; }
|
||||||
int muzak(const int* i) { return 3004; }
|
int muzak(const int* i) { return 3004; }
|
||||||
|
|
||||||
%}
|
%}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
// Tests copy constructor
|
// Tests copy constructor
|
||||||
%module overload_copy
|
%module overload_copy
|
||||||
|
|
||||||
#ifndef SWIG_NO_OVERLOAD
|
|
||||||
%inline %{
|
%inline %{
|
||||||
|
|
||||||
class Foo {
|
class Foo {
|
||||||
|
@ -11,6 +10,3 @@ public:
|
||||||
};
|
};
|
||||||
|
|
||||||
%}
|
%}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,6 @@
|
||||||
%rename(Foos) Foo;
|
%rename(Foos) Foo;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef SWIG_NO_OVERLOAD
|
|
||||||
%immutable Spam::type;
|
%immutable Spam::type;
|
||||||
|
|
||||||
%inline %{
|
%inline %{
|
||||||
|
@ -177,8 +176,6 @@ long long ll(long long ull) { return ull; }
|
||||||
%malloc(void);
|
%malloc(void);
|
||||||
%free(void);
|
%free(void);
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
%inline {
|
%inline {
|
||||||
class ClassA
|
class ClassA
|
||||||
|
|
|
@ -4,8 +4,6 @@
|
||||||
%warnfilter(SWIGWARN_LANG_OVERLOAD_SHADOW) test;
|
%warnfilter(SWIGWARN_LANG_OVERLOAD_SHADOW) test;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef SWIG_NO_OVERLOAD
|
|
||||||
|
|
||||||
%inline %{
|
%inline %{
|
||||||
struct Foo {
|
struct Foo {
|
||||||
int x;
|
int x;
|
||||||
|
@ -24,5 +22,3 @@ public:
|
||||||
};
|
};
|
||||||
%}
|
%}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue