update swig on windows
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
#ifndef subdir2_hello_i_
|
||||
#define subdir2_hello_i_
|
||||
|
||||
%{
|
||||
typedef char * TypedefString;
|
||||
%}
|
||||
|
||||
|
||||
%inline %{
|
||||
|
||||
struct B
|
||||
{
|
||||
int bb;
|
||||
};
|
||||
|
||||
TypedefString importtest2(TypedefString str) {
|
||||
strcpy(str, "white");
|
||||
return str;
|
||||
}
|
||||
|
||||
%}
|
||||
|
||||
|
||||
#endif //subdir2_hello_i_
|
||||
Reference in New Issue
Block a user