from a cimport b

cdef int **t = b.foo(NULL)