cdef class carray