mirror of
https://github.com/boostorg/python.git
synced 2026-01-22 17:32:55 +00:00
back_reference<> uses object instead of handle<>
[SVN r14600]
This commit is contained in:
@@ -75,9 +75,9 @@ namespace boost { namespace python
|
||||
}}
|
||||
|
||||
// prove that back_references get initialized with the right PyObject*
|
||||
PyObject* y_identity(back_reference<Y const&> y)
|
||||
object y_identity(back_reference<Y const&> y)
|
||||
{
|
||||
return y.reference().release();
|
||||
return y.source();
|
||||
}
|
||||
|
||||
// prove that back_references contain the right value
|
||||
|
||||
Reference in New Issue
Block a user