diff --git a/Examples/test-suite/overload_arrays.i b/Examples/test-suite/overload_arrays.i index 42c08390a..25007e2bd 100644 --- a/Examples/test-suite/overload_arrays.i +++ b/Examples/test-suite/overload_arrays.i @@ -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 diff --git a/Examples/test-suite/overload_complicated.i b/Examples/test-suite/overload_complicated.i index 9ab41a5df..08abaaed6 100644 --- a/Examples/test-suite/overload_complicated.i +++ b/Examples/test-suite/overload_complicated.i @@ -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 - diff --git a/Examples/test-suite/overload_copy.i b/Examples/test-suite/overload_copy.i index a685f76e2..238d011a6 100644 --- a/Examples/test-suite/overload_copy.i +++ b/Examples/test-suite/overload_copy.i @@ -1,7 +1,6 @@ // Tests copy constructor %module overload_copy -#ifndef SWIG_NO_OVERLOAD %inline %{ class Foo { @@ -11,6 +10,3 @@ public: }; %} - -#endif - diff --git a/Examples/test-suite/overload_simple.i b/Examples/test-suite/overload_simple.i index 6bedf6cef..00079f203 100644 --- a/Examples/test-suite/overload_simple.i +++ b/Examples/test-suite/overload_simple.i @@ -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 diff --git a/Examples/test-suite/smart_pointer_overload.i b/Examples/test-suite/smart_pointer_overload.i index 0d2cc595d..08248d295 100644 --- a/Examples/test-suite/smart_pointer_overload.i +++ b/Examples/test-suite/smart_pointer_overload.i @@ -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 -