mirror of
https://github.com/boostorg/python.git
synced 2026-02-01 20:52:13 +00:00
Added missing PyObject*const& converter
[SVN r12966]
This commit is contained in:
@@ -27,6 +27,14 @@ struct from_python<PyObject*>
|
||||
PyObject* operator()(PyObject* source) const { return source; }
|
||||
};
|
||||
|
||||
template <>
|
||||
struct from_python<PyObject* const&>
|
||||
{
|
||||
from_python(PyObject*) {}
|
||||
bool convertible() const { return true; }
|
||||
PyObject*const& operator()(PyObject*const& source) const { return source; }
|
||||
};
|
||||
|
||||
//
|
||||
// implementations
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user