From: Leon S. <win...@gm...> - 2010-10-15 21:47:49
|
Dear all: I have the following prototype that I want to c# from %apply (string* INPUT[], int size) {string* mat, int len} int ReadToStrings2(string* mat, int size); //c++ to int ReadToString2(string[] mat, int size); (or better yet int ReadToString2(string[] mat) //c# I have tried to define typename of the form %typemap(cstype) (string* input[], int len) .......... however I do not know how the last argument should look like. I tried something like "String[], int" but this messed up the substitution. Does anybody have a good idea? Thanks. Leon |