pyMethodDef

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).

pure
pyMethodDef
(
string name
int flags = defaultMethodFlags
string doc = ""
F
)

Meta