fix varin for ptr types
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6909 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
a89d51a5e7
commit
a80aa7fe40
2 changed files with 12 additions and 4 deletions
|
|
@ -1,5 +1,7 @@
|
|||
%module global_vars
|
||||
|
||||
%include std_string.i
|
||||
|
||||
%inline %{
|
||||
|
||||
struct A
|
||||
|
|
@ -7,6 +9,7 @@
|
|||
int x;
|
||||
};
|
||||
|
||||
std::string b;
|
||||
A a;
|
||||
A *ap;
|
||||
const A *cap;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue