I am trying to write a Cython wrapper for a C library with a struct that has a member name lambda
.
struct GreekType {
int alpha;
int beta;
int lambda;
};
I tried
cdef extern from "greek.h":
cdef struct GreekType:
int alpha
int beta
int lambda
which does not compile with cython.
Is there any possible workaround?