FFIG / ffig

Generate code to call C++ libraries from other languages
MIT License
29 stars 9 forks source link

Generate Cython bindings and build extension modules #449

Open ajbennieston opened 5 years ago

ajbennieston commented 5 years ago

FFIG could generate Cython .pyx files and use CMake to build them into extension modules.

jbcoe commented 5 years ago

Sounds like a fine idea!

Do you have any Cython references we could use?

ajbennieston commented 5 years ago

I've been playing with Cython this weekend, see https://github.com/ajbennieston/try-cython for an example of using Cython to wrap a simple C library.