Add const global std::string variable

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8607 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2006-01-29 14:46:47 +00:00
commit 833be12275

View file

@ -72,6 +72,7 @@ void test_const_pointer_throw() throw(const std::string *) {
%inline %{
std::string GlobalString;
std::string GlobalString2 = "global string 2";
const std::string ConstGlobalString = "const global string";
struct Structure {
std::string MemberString;