Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update wrap_classes.rst with newest changes in autowrap #303

Open
jpfeuffer opened this issue Oct 14, 2022 · 1 comment
Open

Update wrap_classes.rst with newest changes in autowrap #303

jpfeuffer opened this issue Oct 14, 2022 · 1 comment

Comments

@jpfeuffer
Copy link
Contributor

I think parts of it are not up-to-date anymore.
E.g. I think you should use const specifiers now. Especially on libcpp objects like lists, where you can skip the copy-back step if const.
For normal wrapped classes it is just cleaner if the (advanced) user looks at the Cython signature.

@timosachsenberg
Copy link
Contributor

todo add how to wrap static functions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants