- 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
|
|
@ -1,5 +1,6 @@
|
|||
/* File : example.i */
|
||||
%module example
|
||||
#pragma SWIG nowarn=451
|
||||
%{
|
||||
#include "example.h"
|
||||
%}
|
||||
|
|
@ -17,7 +18,7 @@ extern char cvar;
|
|||
extern float fvar;
|
||||
extern double dvar;
|
||||
extern char *strvar;
|
||||
extern const char *cstrvar;
|
||||
extern const char * cstrvar;
|
||||
extern int *iptrvar;
|
||||
extern char name[256];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue