From f962f10e0584fda6675e6281ab3f91ad62a8d8ac Mon Sep 17 00:00:00 2001 From: Marcelo Matus Date: Tue, 7 Sep 2004 09:31:39 +0000 Subject: [PATCH] change typemap(ignore) to typemap(in,numinputs=0) git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6235 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Lib/python/cstring.i | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Lib/python/cstring.i b/Lib/python/cstring.i index 8ddcbab71..5f9963be9 100644 --- a/Lib/python/cstring.i +++ b/Lib/python/cstring.i @@ -36,7 +36,7 @@ */ %define %cstring_bounded_output(TYPEMAP,MAX) -%typemap(ignore) TYPEMAP(char temp[MAX+1]) { +%typemap(in,numinputs=0) TYPEMAP(char temp[MAX+1]) { $1 = ($1_ltype) temp; } %typemap(argout,fragment="t_output_helper") TYPEMAP { @@ -61,7 +61,7 @@ */ %define %cstring_chunk_output(TYPEMAP,SIZE) -%typemap(ignore) TYPEMAP(char temp[SIZE]) { +%typemap(in,numinputs=0) TYPEMAP(char temp[SIZE]) { $1 = ($1_ltype) temp; } %typemap(argout,fragment="t_output_helper") TYPEMAP { @@ -239,7 +239,7 @@ */ %define %cstring_output_allocate(TYPEMAP, RELEASE) -%typemap(ignore) TYPEMAP($*1_ltype temp = 0) { +%typemap(in,numinputs=0) TYPEMAP($*1_ltype temp = 0) { $1 = &temp; }