cdef'd and inlined