What is the difference between these two snippets of cython code?
cdef extern from "some_header.h": enum _some_enum: ... ctypedef _some_enum some_enum
and
cdef extern enum _some_enum: ... ctypedef _some_enum some_enum
Since you need to override enum in the .pyd file, does it matter if you say something about the header file? Can I include it from the header file instead of redialing it?
source share