From eb669d66c06b2b71dae56c94df7e6bb6f32e132f Mon Sep 17 00:00:00 2001 From: Stefan Zager Date: Sun, 30 Jan 2011 05:41:51 +0000 Subject: [PATCH] typecheck SWIGTYPE *const& has been fixed in Lib/typemaps/swigtype.swg, so remove the override here. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/szager-python-builtin@12418 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Lib/python/pytypemaps.swg | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Lib/python/pytypemaps.swg b/Lib/python/pytypemaps.swg index 119bf0e1e..aad9bacd7 100644 --- a/Lib/python/pytypemaps.swg +++ b/Lib/python/pytypemaps.swg @@ -68,12 +68,6 @@ * Python extra typemaps / typemap overrides * ------------------------------------------------------------ */ -%typemap(typecheck,precedence=SWIG_TYPECHECK_POINTER,noblock=1) SWIGTYPE *const& { - void *vptr = 0; - int res = SWIG_ConvertPtr($input, &vptr, $*descriptor, 0); - $1 = SWIG_CheckState(res); -} - /* Get the address of the 'python self' object */ %typemap(in,numinputs=0,noblock=1) PyObject **PYTHON_SELF {