Add new terminator attribute for the csin typemap for C#
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10808 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
907171735f
commit
044895ef6e
4 changed files with 210 additions and 9 deletions
|
|
@ -1,6 +1,18 @@
|
|||
Version 1.3.37 (in progress)
|
||||
=============================
|
||||
|
||||
2008-09-02: wsfulton
|
||||
[C#] Support for 'using' and 'fixed' blocks in the 'csin' typemap is now
|
||||
possible through the use of the pre attribute and the new terminator attribute, eg
|
||||
|
||||
%typemap(csin,
|
||||
pre=" using (CDate temp$csinput = new CDate($csinput)) {",
|
||||
terminator=" } // terminate temp$csinput using block",
|
||||
) const CDate &
|
||||
"$csclassname.getCPtr(temp$csinput)"
|
||||
|
||||
See CSharp.html for more info.
|
||||
|
||||
2008-09-01: wsfulton
|
||||
[CFFI] Commit patch #2079381 submitted by Boris Smilga - constant exprs put into
|
||||
no-eval context in DEFCENUM
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue