add the -fastunpack/-nofastunpack options to avoid using python native UnpackTuple

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7983 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2005-12-14 07:28:30 +00:00
commit 95214810ab
3 changed files with 149 additions and 64 deletions

View file

@ -73,7 +73,10 @@
/* Get the address of the 'python self' object */
%typemap(in,numinputs=0) PyObject **PYTHON_SELF "$1 = &obj0;";
%typemap(in,numinputs=0,noblock=1) PyObject **PYTHON_SELF {
$1 = &$self;
}
/* For output, we increase the reference object */
%typemap(out,noblock=1) PyObject * {