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:
parent
c98cffe7a6
commit
833be12275
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue