kngwyu
|
b42886a38a
|
Change PyCFunction to take &'static str as a function name
|
2020-10-08 17:26:55 +09:00 |
Sebastian Pütz
|
22881a3c2f
|
Change add_function, ensure static docstrings.
Change add_function to take `&PyCFunction` instead of a wrapper
fn and ensure that dostrings of functions are `&'static str`.
|
2020-09-09 12:37:37 +02:00 |
Sebastian Pütz
|
be877d133f
|
Add constructor for PyCFunction.
|
2020-09-08 14:26:08 +02:00 |
Sebastian Pütz
|
2e8010b5df
|
Add native Function native types.
Add bindings for PyCFunction, PyFunction, PyClassMethod and
PyStaticMethod.
|
2020-09-08 09:51:31 +02:00 |
Sebastian Pütz
|
3214249010
|
Make python function wrapper creation fallible.
Wrapping a function can fail if we can't get the module name.
Based on suggestion by @kngwyu
|
2020-09-03 15:48:32 +02:00 |
David Hewitt
|
4ed9748b45
|
Rename exceptions to PyException etc; reintroduce deprecated ones
|
2020-07-18 06:02:57 +01:00 |
Yuji Kanagawa
|
5939362e72
|
Fix docs and comments based on the review
Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
|
2020-06-05 17:48:43 +09:00 |
kngwyu
|
688021315e
|
Typed PyBuffer
|
2020-06-04 22:03:53 +09:00 |
David Hewitt
|
5c5527dfec
|
Fix passing explicit None to pyfunction with default
|
2020-05-17 19:19:33 +01:00 |