mirror of
https://github.com/pybind/pybind11.git
synced 2026-05-25 07:14:50 +00:00
When the Callable itself is an input (parameter) to a C++ function, its arguments are outputs (C++ passes them to the Python callback), and vice versa. Therefore, we must invert them if C++ calls a Python function, but keep them the same in the other direction.
7.8 KiB
7.8 KiB