A C API function has a fixed signature and has to return a pointer to a PyObject. Even if your function is going to return nothing at all it still has to return a pointer to a PyObject. This generally ...