From b7917fdaef2cc4008aa68ac343c3ec9dddcd566b Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Tue, 29 Mar 2005 20:49:33 +0000 Subject: [PATCH] more functions to test director string ref git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7107 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- SWIG/Examples/test-suite/director_string.i | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/SWIG/Examples/test-suite/director_string.i b/SWIG/Examples/test-suite/director_string.i index 90c266566..c815375e3 100644 --- a/SWIG/Examples/test-suite/director_string.i +++ b/SWIG/Examples/test-suite/director_string.i @@ -28,6 +28,12 @@ struct A virtual const std::string& get(int n) const { return m_strings[n]; } + virtual const std::string& call_get_first() const + { return get_first(); } + + virtual const std::string& call_get(int n) const + { return get(n); } + std::vector m_strings; };