mirror of
https://github.com/boostorg/python.git
synced 2026-01-21 17:12:22 +00:00
changed handle cast to downcast
[SVN r40935]
This commit is contained in:
@@ -118,7 +118,7 @@ namespace aux
|
||||
{
|
||||
load(false);
|
||||
if(!array_type) return 0;
|
||||
return handle<PyTypeObject>(array_type).get();
|
||||
return downcast<PyTypeObject>(array_type.get());
|
||||
}
|
||||
|
||||
# define BOOST_PYTHON_AS_OBJECT(z, n, _) object(x##n)
|
||||
|
||||
Reference in New Issue
Block a user