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

Generalize load module #133

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Conversation

rbu9fe
Copy link

@rbu9fe rbu9fe commented Feb 13, 2025

This is an attempt to fix #101, however, it doesn't work as expected and I don't know why. Perhaps you can give me a hint?

The issue is how to pass a list of features into the C API. I implemented the helper function strlist2c for that purpose based on the example in the ffi documentation: An example of calling a main-like thing
However, the pointers/memory received by the C API seem not to be valid.

Do you have an idea what's going wrong here?

@rjarry
Copy link
Collaborator

rjarry commented Feb 14, 2025

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.

Support features in context.load_module
2 participants