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:
William S Fulton 2019-11-26 19:39:28 +00:00
commit 18b2dcd222
5 changed files with 126 additions and 13 deletions

View file

@ -73,11 +73,17 @@ Replace(obj, orig, rep, flags) Replace occurrences of orig with rep.
Chop(obj) Remove trailing whitespace
flags is one of the following:
DOH_REPLACE_ANY
DOH_REPLACE_NOQUOTE
DOH_REPLACE_ID
DOH_REPLACE_FIRST
DOH_REPLACE_ID
DOH_REPLACE_ID_BEGIN
DOH_REPLACE_ID_END
DOH_REPLACE_NUMBER_END
and can be combined with one or more of the following:
DOH_REPLACE_ANY
DOH_REPLACE_NOQUOTE
DOH_REPLACE_NOCOMMENT
DOH_REPLACE_FIRST
Callable Operations
-------------------
Call(obj, args) Perform a function call with arguments args.