createModule

Creates a Python3 extension module from the given C functions, which must be of type PyObject* (PyObject* args, PyObject* kwargs). kwargs is optional. The aggregates are the D structs/classes/enums to be wrapped.

createModule
(
Module module_
alias cfunctions
alias aggregates = Aggregates!()
)
()
if (
is(cfunctions == CFunctions!F,
F...
) &&
is(aggregates == Aggregates!T,
T...
)
)

Meta