- recover the proper catching exception mechanism for classes
(throw typemap). - fix the examples with exception problems and warnings - proper and consist treatment of basic types (short, unsigned char,...) now all are checked for range and sign. Before, this was depending of the use of parsing or no parsing, and/or the converter method, and/or the use of directors, etc. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5659 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
5078783796
commit
54737ee9a9
8 changed files with 459 additions and 243 deletions
|
|
@ -21,7 +21,7 @@ int printf(const char *fmt, ...);
|
|||
%varargs(char *) fprintf;
|
||||
|
||||
/* Ignore the format string, but set it to %s */
|
||||
%typemap(ignore) const char *fmt {
|
||||
%typemap(in,numinputs=0) const char *fmt {
|
||||
$1 = "%s";
|
||||
}
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue