My code is:
cdef extern from "mylib.h":
cdef cppclass MyClass:
MyClass(const char *data) except +
# and I also need except + for myMethod
int myMethod(size_t len, char *data) const
I need both const
and except +
for my method, but I cannot. I tried to write it after space, after comma, put both declarations in parenthes -- but got different types of cyntax errors. Documentation gave no hints about multiple annotations...
cython 0.20.1 from Ubuntu Trusty was used.