From 96a3b57b975fa491fa871ad7bc91900ae94d607e Mon Sep 17 00:00:00 2001 From: Marcelo Matus Date: Wed, 1 Sep 2004 02:09:44 +0000 Subject: [PATCH] more solaris fixes git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6187 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 af039b981..f2ea2f3d9 100644 --- a/Lib/python/std_common.i +++ b/Lib/python/std_common.i @@ -196,7 +196,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 && p) { typedef typename noconst_traits::noconst_type noconst_type; *(const_cast(val)) = *p; @@ -206,7 +206,7 @@ namespace swigpy { return false; } } else { - return asptr(obj, (Type **)(0)); + return traits_asptr::asptr(obj, (Type **)(0)); } } };