pyo3/pyo3-macros-backend
Lily Foote a3ad28b70c
Pymodule bound (#3897)
* Support Bound in pymodule and pyfunction macros

Co-authored-by: David Hewitt <mail@davidhewitt.dev>

* Remove spurious $ character

Co-authored-by: Matthew Neeley <mneeley@gmail.com>

* Rework PyCFunction::new_bound signatures

This allows us to remove the awkward `PyFunctionArgumentsBound` enum.

* Use BoundRef instead of BoundModule

* support argument deduction for `wrap_pyfunction_bound!`

* support `wrap_pyfunction!` with `Bound` input/output

* Fix docs link to `wrap_pyfunction_bound!`

* Revert back to wrap_pyfunction!

---------

Co-authored-by: David Hewitt <mail@davidhewitt.dev>
Co-authored-by: Matthew Neeley <mneeley@gmail.com>
2024-02-27 19:19:52 +00:00
..
src Pymodule bound (#3897) 2024-02-27 19:19:52 +00:00
Cargo.toml macros: exact dependency on pyo3-build-config (#3889) 2024-02-23 12:30:46 +00:00
LICENSE-APACHE tidy up some file locations after dual licensing 2023-08-16 08:22:51 +01:00
LICENSE-MIT tidy up some file locations after dual licensing 2023-08-16 08:22:51 +01:00