cdef extern from *:
cppclass Foo:
int enumToInt(MyEnum)
def f():
cdef Foo f;
return f.enumToInt(MyEnum.A)
I'm using Cython 3 alpha (and both probably require that)
--
---
You received this message because you are subscribed to the Google Groups "cython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cython-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cython-users/cf6c8e6b-62fb-499a-b756-4976566561f5n%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "cython-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cython-users/PpwhyIzqGyA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cython-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cython-users/ee903731-58bc-44d4-8155-382b6d631d30n%40googlegroups.com.