From 86f53f35ae68f0c0675f0dceed7ac3b979472ec7 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Fri, 10 Mar 2006 21:47:13 +0000 Subject: [PATCH] Bug 1446319 - variable of same emitted more than once when more than wstring parameter in director methods git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8995 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Examples/test-suite/director_wstring.i | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Examples/test-suite/director_wstring.i b/Examples/test-suite/director_wstring.i index 8fb8b2061..17761ea59 100644 --- a/Examples/test-suite/director_wstring.i +++ b/Examples/test-suite/director_wstring.i @@ -44,6 +44,12 @@ struct A { } + virtual std::wstring multiple_params_val(const std::wstring& p1, const std::wstring& p2, std::wstring p3, std::wstring p4) const + { return get_first(); } + + virtual const std::wstring& multiple_params_ref(const std::wstring& p1, const std::wstring& p2, std::wstring p3, std::wstring p4) const + { return get_first(); } + void call_process_func() { process_text(L"hello"); } };