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 from deprecated PyCObject to PyCapsule #763

Merged
merged 1 commit into from
Mar 7, 2024
Merged

Update from deprecated PyCObject to PyCapsule #763

merged 1 commit into from
Mar 7, 2024

Conversation

DavidRConnell
Copy link
Contributor

I was trying to use python-igraph's api and got compiler warnings for implicit declaration of PyCObject_Check and PyCObject_AsVoidPtr. The CObject api has been deprecated. It looks like this got updated elsewhere but missed in igraphmodule_api.h. Pretty much just copied from the Providing a C API for an Extension Module example. Changing to my branch fixes the previous errors I was getting with the missing PyCObject_* symbols.

@ntamas ntamas merged commit ecfced6 into igraph:main Mar 7, 2024
11 checks passed
@ntamas
Copy link
Member

ntamas commented Mar 7, 2024

Thank you!

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

Successfully merging this pull request may close these issues.

None yet

2 participants