Scilab testcase fix
This commit is contained in:
parent
21b176f07f
commit
209ed1db66
1 changed files with 5 additions and 6 deletions
|
|
@ -83,12 +83,6 @@ void test_const_pointer_throw() throw(const std::string *) {
|
||||||
std::string *Structure::StaticMemberString2 };
|
std::string *Structure::StaticMemberString2 };
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
%inline %{
|
|
||||||
std::string GlobalString;
|
|
||||||
std::string GlobalString2 = "global string 2";
|
|
||||||
const std::string ConstGlobalString = "const global string";
|
|
||||||
|
|
||||||
#ifdef SWIGSCILAB
|
#ifdef SWIGSCILAB
|
||||||
%rename(St) MemberString;
|
%rename(St) MemberString;
|
||||||
%rename(Str) MemberString;
|
%rename(Str) MemberString;
|
||||||
|
|
@ -99,6 +93,11 @@ const std::string ConstGlobalString = "const global string";
|
||||||
%rename(ConstStaticStr) ConstStaticMemberString;
|
%rename(ConstStaticStr) ConstStaticMemberString;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
%inline %{
|
||||||
|
std::string GlobalString;
|
||||||
|
std::string GlobalString2 = "global string 2";
|
||||||
|
const std::string ConstGlobalString = "const global string";
|
||||||
|
|
||||||
struct Structure {
|
struct Structure {
|
||||||
std::string MemberString;
|
std::string MemberString;
|
||||||
std::string MemberString2;
|
std::string MemberString2;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue