summaryrefslogtreecommitdiff
path: root/Examples
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2023-01-12 08:38:17 +0000
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2023-02-17 08:22:55 +0000
commitcac16bf94dc041d5f28e2e0fdfa1ae880d801d58 (patch)
tree930902e4dd899696438f44e1cfa3b61c3413749e /Examples
parent728f89adad42cc5f19900d54905382c22b0284d6 (diff)
downloadswig-cac16bf94dc041d5f28e2e0fdfa1ae880d801d58.tar.gz
Rewrite does_parm_match used in template partial specialization
Re-implement this function in preparation for fixing bugs in this function. This rewrite should result in no change in the way it previously worked for now.
Diffstat (limited to 'Examples')
-rw-r--r--Examples/test-suite/template_partial_specialization.i4
1 files changed, 0 insertions, 4 deletions
diff --git a/Examples/test-suite/template_partial_specialization.i b/Examples/test-suite/template_partial_specialization.i
index 9727b52f8..4a0458a74 100644
--- a/Examples/test-suite/template_partial_specialization.i
+++ b/Examples/test-suite/template_partial_specialization.i
@@ -130,9 +130,6 @@ namespace AA { // thinks X is in AA namespace
namespace Space {
}
template<typename T> struct Vector {
-#ifdef SWIG
- %template() Space::VectorHelper<T>;
-#endif
void gook(T i) {}
void geeko(double d) {}
void geeky(int d) {}
@@ -142,7 +139,6 @@ template<typename T> struct Vector<T *> {
};
*/
//}
-%}
%template(VectorIntPtr) Space::Vector<int *>; // should fail as Vector is in global namespace
// is this a regression - no fails in 1.3.40 too