Stop leaking c_int and ssize_t in the API.