Skip to content
Discussion options

You must be logged in to vote

PyFrameObject is a PyObject, so if you don't need a PyFrame on the Rust side the easiest here is to just take *mut PyObject in the callback or to cast the *mut PyFrameObject using as *mut PyObject inside of it.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@LilyAcorn
Comment options

LilyAcorn Nov 18, 2022
Collaborator Author

Answer selected by LilyAcorn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants