scilab: implement test li_std_string
This commit is contained in:
parent
35ef7b774b
commit
139449f424
3 changed files with 72 additions and 3 deletions
|
|
@ -83,11 +83,22 @@ void test_const_pointer_throw() throw(const std::string *) {
|
|||
std::string *Structure::StaticMemberString2 };
|
||||
*/
|
||||
|
||||
|
||||
%inline %{
|
||||
std::string GlobalString;
|
||||
std::string GlobalString2 = "global string 2";
|
||||
const std::string ConstGlobalString = "const global string";
|
||||
|
||||
#ifdef SWIGSCILAB
|
||||
%rename(St) MemberString;
|
||||
%rename(Str) MemberString;
|
||||
%rename(Str2) MemberString2;
|
||||
%rename(StaticStr) StaticMemberString;
|
||||
%rename(StaticStr2) StaticMemberString2;
|
||||
%rename(ConstStr) ConstMemberString;
|
||||
%rename(ConstStaticStr) ConstStaticMemberString;
|
||||
#endif
|
||||
|
||||
struct Structure {
|
||||
std::string MemberString;
|
||||
std::string MemberString2;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue