Skip to content
Snippets Groups Projects

Repo for interfacing python with c. Main goal is to be able to compile a function and give the pointer to that function to a c program.

Current Status:

I managed to compile a shared library on runtime, and also load the function pointer memory adress of a dynamically loaded function.

Cast that pointer value into an integer and pass it to another function that will use that int as a function pointer again

Test within c-script itself

First in the dummy script, just to try things out, and then in the script where python is the bridge between