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
|
||||
|
||||
|
||||
|
||||
#ifndef SWIG_NO_OVERLOAD
|
||||
%immutable Spam::type;
|
||||
|
||||
%inline %{
|
||||
|
@ -130,8 +128,6 @@ static char *bar(void *[SIZE]) {
|
|||
|
||||
%}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
%inline {
|
||||
class ClassA
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
// A complicated test of overloaded functions
|
||||
%module overload_complicated
|
||||
|
||||
#ifndef SWIG_NO_OVERLOAD
|
||||
|
||||
// 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::hip;
|
||||
|
@ -69,6 +67,3 @@ int muzak(int& i) { return 3003; }
|
|||
int muzak(const int* i) { return 3004; }
|
||||
|
||||
%}
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
// Tests copy constructor
|
||||
%module overload_copy
|
||||
|
||||
#ifndef SWIG_NO_OVERLOAD
|
||||
%inline %{
|
||||
|
||||
class Foo {
|
||||
|
@ -11,6 +10,3 @@ public:
|
|||
};
|
||||
|
||||
%}
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
%rename(Foos) Foo;
|
||||
#endif
|
||||
|
||||
#ifndef SWIG_NO_OVERLOAD
|
||||
%immutable Spam::type;
|
||||
|
||||
%inline %{
|
||||
|
@ -177,8 +176,6 @@ long long ll(long long ull) { return ull; }
|
|||
%malloc(void);
|
||||
%free(void);
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
%inline {
|
||||
class ClassA
|
||||
|
|
|
@ -4,8 +4,6 @@
|
|||
%warnfilter(SWIGWARN_LANG_OVERLOAD_SHADOW) test;
|
||||
#endif
|
||||
|
||||
#ifndef SWIG_NO_OVERLOAD
|
||||
|
||||
%inline %{
|
||||
struct Foo {
|
||||
int x;
|
||||
|
@ -24,5 +22,3 @@ public:
|
|||
};
|
||||
%}
|
||||
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue