From fa723151fb5e09602efdd97159ec223cbb112e03 Mon Sep 17 00:00:00 2001 From: Marcelo Matus Date: Wed, 1 Sep 2004 02:12:02 +0000 Subject: [PATCH] more solaris fixes git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6188 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Lib/python/std_common.i | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/python/std_common.i b/Lib/python/std_common.i index f2ea2f3d9..f60ae63ba 100644 --- a/Lib/python/std_common.i +++ b/Lib/python/std_common.i @@ -215,7 +215,7 @@ namespace swigpy { static bool asval(PyObject *obj, Type **val) { if (val) { Type *p = 0; - int res = asptr(obj, &p); + int res = traits_asptr::asptr(obj, &p); if (res) { typedef typename noconst_traits::noconst_type noconst_type; *(const_cast(val)) = p; @@ -224,7 +224,7 @@ namespace swigpy { return false; } } else { - return asptr(obj, (Type **)(0)); + return traits_asptr::asptr(obj, (Type **)(0)); } } };