.pyxfile if you want a function that you declared as
cdef(e.g. because you want inlining) to be visible to the Python interpreter, you need to use
cpdefinstead. However, it seems the
cpdefversion is a lot less efficient than
cdef, and it might be better to have a wrapper of some sort instead.