Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support for cdef cppclass #2

Open
chadrik opened this issue Dec 2, 2010 · 1 comment
Open

support for cdef cppclass #2

chadrik opened this issue Dec 2, 2010 · 1 comment

Comments

@chadrik
Copy link

chadrik commented Dec 2, 2010

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.

@cournape
Copy link
Owner

cournape commented Dec 6, 2010

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants