diff --git a/Lib/c/c.swg b/Lib/c/c.swg index 344f8cc3a..ab2f458dd 100644 --- a/Lib/c/c.swg +++ b/Lib/c/c.swg @@ -53,7 +53,7 @@ %typemap(proxy) void [ANY][ANY], short [ANY][ANY], int [ANY][ANY], long [ANY][ANY], char [ANY][ANY], float [ANY][ANY], double [ANY][ANY] "$1_ltype" %typemap(proxy) SWIGTYPE "$1_ltype *" %typemap(proxy) SWIGTYPE * "$1_ltype " -%typemap(proxy) SWIGTYPE & "$1_ltype *" +%typemap(proxy) SWIGTYPE & "$1_ltype" %typemap(proxy) SWIGTYPE [ANY][ANY], SWIGTYPE ** "/* whoa */ $1_ltype ***" %typemap(proxy) SWIGTYPE *[ANY] "/*ooooh*/ $1_ltype **" %typemap(proxy) SWIGTYPE *& "/* *& */ $1_ltype **" @@ -439,7 +439,7 @@ // objects %typemap(proxycouttype) SWIGTYPE "$1_ltype *" %typemap(proxycouttype) SWIGTYPE * "/*aaaaaa*/$1_ltype" -%typemap(proxycouttype) SWIGTYPE & "$1_ltype *" +%typemap(proxycouttype) SWIGTYPE & "$1_ltype" %typemap(proxycouttype) SWIGTYPE *& "$1_ltype **" %typemap(proxycouttype) SWIGTYPE [ANY] "/*SWIGTYPE [ANY]*/ $1_ltype **" %typemap(proxycouttype) SWIGTYPE * [ANY] "/*SWIGTYPE *[ANY] */ $1_ltype **"