cython-codegen
cython-codegen copied to clipboard
support for cdef cppclass
not an issue, just a feature request. any plans to add support for the 'cdef cppclass' statement? i think it was added in cython 0.13 and allows for easy declaration of c++ classes.
Hi Chadrik.
Unfortunately, I don't have time to work on cython-codegen ATM, so you would have to do it by yourself (in which case I would add gladly merge it).
Also, while useful, I think cython-codegen is a dead end in how it works. I think a better solution is to use clang from the LLVM project to parse C reliably and generate .pxd files from there (see e.g. http://amnoid.de/tmp/clangtut/tut.html).