I added a new directive, DEF, which allows calling Python functions from C. Syntax is DEF <return_type> <function_name> <argument_type ....>. Afterwards, the function can be called with <function_name> from C. See sample.py for example.
Log in to post a comment.