Skip to content

Add keep_alive customization

Was:

Add a default keep_alive flag to the customization data. Adds a "py::keep_alive<1, 2>",

TODO: allow specification of keep_alive parameters?

Now: Add a customization dictionary for keep_alive additions to functions, both in classes and free. Use the number of arguments to describe the function which receives the notation and specify the reference values to use in the notation.

Edited by Joe Snyder

Merge request reports