You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
roundtrip tests: object references passed to trampoline methods
Add tests to ensure that reference arguments passed to trampoline methods
(from C++ -> Python -> C++) are actually passed by reference (and not copied),
which is the default return_value_policy to pass from C++ to Python.
Being able to pass by reference is essential to allow object modifications
performed in Python code to become visible in C++.
0 commit comments