Object tracking support. Defined two new pointer conversion flags used by SWIG_ConvertPtr and SWIG_NewPointerObj. The new flags are:
#define SWIG_POINTER_OWN 0x1 #define SWIG_TRACK_OBJECTS 0x4 git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7496 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
0316580de7
commit
71726a217a
1 changed files with 2 additions and 0 deletions
|
|
@ -6,7 +6,9 @@
|
|||
|
||||
/* Flags for pointer conversion */
|
||||
#define SWIG_POINTER_EXCEPTION 0x1
|
||||
#define SWIG_POINTER_OWN 0x1
|
||||
#define SWIG_POINTER_DISOWN 0x2
|
||||
#define SWIG_TRACK_OBJECTS 0x4
|
||||
|
||||
#define NUM2USHRT(n) (\
|
||||
(0 <= NUM2UINT(n) && NUM2UINT(n) <= USHRT_MAX)\
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue