Creates a Python module from the given C functions. Each function has the same name in Python.
Create a Python module. The strings are compile-time parameters to avoid passing GC-allocated memory to Python (by calling std.string.toStringz or manually appending the null terminator).
A string mixin to reduce boilerplate when creating a Python module. Takes a module name and a variadic list of C functions to make available.
Helper function to create PyMethodDef structs. The strings are compile-time parameters to avoid passing GC-allocated memory to Python (by calling std.string.toStringz or manually appending the null terminator).
For a nicer API
For a nicer API
Helper functions to interact with the Python C API