fix varin typemap

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6896 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2004-12-19 04:34:43 +00:00
commit b316e6445a
3 changed files with 31 additions and 6 deletions

View file

@ -140,6 +140,7 @@ CPP_TEST_CASES += \
features \
friends \
global_ns_arg \
global_vars \
grouping \
ignore_parameter \
import_nomodule \

View file

@ -0,0 +1,22 @@
%module global_vars
%inline %{
struct A
{
int x;
};
A a;
A *ap;
const A *cap;
A &ar = a;
int x;
int *xp;
void *vp;
%}