hum, they are Py_ssize_t  from the function prototype. Isn't it? 
Does cython ignore that such I have to redeclare these variables?