From: Marcelo M. <mar...@us...> - 2004-09-07 09:31:56
|
Update of /cvsroot/swig/SWIG/Lib/python In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14708 Modified Files: cstring.i Log Message: change typemap(ignore) to typemap(in,numinputs=0) Index: cstring.i =================================================================== RCS file: /cvsroot/swig/SWIG/Lib/python/cstring.i,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** cstring.i 7 Sep 2004 09:26:22 -0000 1.5 --- cstring.i 7 Sep 2004 09:31:39 -0000 1.6 *************** *** 37,41 **** %define %cstring_bounded_output(TYPEMAP,MAX) ! %typemap(ignore) TYPEMAP(char temp[MAX+1]) { $1 = ($1_ltype) temp; } --- 37,41 ---- %define %cstring_bounded_output(TYPEMAP,MAX) ! %typemap(in,numinputs=0) TYPEMAP(char temp[MAX+1]) { $1 = ($1_ltype) temp; } *************** *** 62,66 **** %define %cstring_chunk_output(TYPEMAP,SIZE) ! %typemap(ignore) TYPEMAP(char temp[SIZE]) { $1 = ($1_ltype) temp; } --- 62,66 ---- %define %cstring_chunk_output(TYPEMAP,SIZE) ! %typemap(in,numinputs=0) TYPEMAP(char temp[SIZE]) { $1 = ($1_ltype) temp; } *************** *** 240,244 **** %define %cstring_output_allocate(TYPEMAP, RELEASE) ! %typemap(ignore) TYPEMAP($*1_ltype temp = 0) { $1 = &temp; } --- 240,244 ---- %define %cstring_output_allocate(TYPEMAP, RELEASE) ! %typemap(in,numinputs=0) TYPEMAP($*1_ltype temp = 0) { $1 = &temp; } |