From: William F. <wsf...@us...> - 2005-12-29 00:16:56
|
Update of /cvsroot/swig/SWIG/Lib/csharp In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5677/Lib/csharp Modified Files: csharp.swg Log Message: Add in array reference typemaps - the recently introduced pointer reference typemaps broke array references. Index: csharp.swg =================================================================== RCS file: /cvsroot/swig/SWIG/Lib/csharp/csharp.swg,v retrieving revision 1.50 retrieving revision 1.51 diff -C2 -d -r1.50 -r1.51 *** csharp.swg 26 Dec 2005 23:08:55 -0000 1.50 --- csharp.swg 29 Dec 2005 00:16:48 -0000 1.51 *************** *** 547,550 **** --- 547,553 ---- %{ $result = (void *)*$1; %} + /* Array reference typemaps */ + %apply SWIGTYPE & { SWIGTYPE ((&)[ANY]) } + /* Typemaps used for the generation of proxy and type wrapper class code */ %typemap(csbase) SWIGTYPE, SWIGTYPE *, SWIGTYPE &, SWIGTYPE [], SWIGTYPE (CLASS::*) "" |