Replies: 0 comments
-
In fact, this will work:
where the temporary object now persists. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am creating a Python module (named
module.so
) following the tutorial on trampolines:and
The Python snippet always gives a segmentation fault. I doubt that GIL is the culprit as an interpreter should be embedded to run the Python code, but I am not sure what goes wrong.
Also my
CMakelists.txt
if it's helpful:Beta Was this translation helpful? Give feedback.
All reactions