*** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4930 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
c89e7d9923
commit
9bea1e62e7
1 changed files with 16 additions and 0 deletions
|
|
@ -1,6 +1,22 @@
|
||||||
Version 1.3.20 (In progress)
|
Version 1.3.20 (In progress)
|
||||||
============================
|
============================
|
||||||
|
|
||||||
|
06/27/2003: cheetah (William Fulton)
|
||||||
|
[Java, C#] The throws attribute for adding exception classes to the throws
|
||||||
|
clause also now works with the following typemaps:
|
||||||
|
newfree
|
||||||
|
javain, javaout (Java)
|
||||||
|
csin, csout (C#)
|
||||||
|
|
||||||
|
For example, the 'AnException' will be added to the throws clause in the
|
||||||
|
proxy function:
|
||||||
|
|
||||||
|
%typemap(javaout, throws="AnException") int {
|
||||||
|
int returnValue=$jnicall;
|
||||||
|
if (returnValue==0) throw new AnException("Value must not be zero");
|
||||||
|
return returnValue;
|
||||||
|
}
|
||||||
|
|
||||||
06/25/2003: mrose (Mark Rose)
|
06/25/2003: mrose (Mark Rose)
|
||||||
[Python] Director typemap marshalling checks for null pointers when
|
[Python] Director typemap marshalling checks for null pointers when
|
||||||
walking the parameter list instead of relying soley on the parameter
|
walking the parameter list instead of relying soley on the parameter
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue