Add const global std::string variable
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8607 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
506cece240
commit
aa100d9b60
1 changed files with 1 additions and 0 deletions
|
|
@ -72,6 +72,7 @@ void test_const_pointer_throw() throw(const std::string *) {
|
||||||
%inline %{
|
%inline %{
|
||||||
std::string GlobalString;
|
std::string GlobalString;
|
||||||
std::string GlobalString2 = "global string 2";
|
std::string GlobalString2 = "global string 2";
|
||||||
|
const std::string ConstGlobalString = "const global string";
|
||||||
|
|
||||||
struct Structure {
|
struct Structure {
|
||||||
std::string MemberString;
|
std::string MemberString;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue