C# 'out' or 'ref' removal improvements in director typemaps.
- Add support to DOH Replace for not replacing inside C comments - Fix removing 'out' or 'ref' when these are present in C comments in cstype typemaps. Closes #1628
This commit is contained in:
parent
6fb345feb2
commit
18b2dcd222
5 changed files with 126 additions and 13 deletions
|
|
@ -10,8 +10,8 @@
|
|||
%typemap(ctype) int* readLen, int* writeLen "/*ctype*/ int*"
|
||||
%typemap(imtype) int* readLen, int* writeLen "/*imtype*/ out int"
|
||||
%typemap(cstype) int* readLen "/*cstype*/ out int"
|
||||
//%typemap(cstype) int* writeLen "/*out cstype out*/ out int"
|
||||
%apply int *readLen { int* writeLen } // Replaced above - 'out' in a comment is not working yet
|
||||
// Note for below: 'out' used in typemap comment
|
||||
%typemap(cstype) int* writeLen "/*out cstype out*/ out int"
|
||||
%typemap(csin) int* readLen, int* writeLen "/*csin*/ out $csinput"
|
||||
%typemap(in) int* readLen, int* writeLen %{/*in*/ $1 = ($1_ltype)$input; %}
|
||||
%typemap(out) int* readLen, int* writeLen %{/*out*/ $result = (void *)$1; %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue