pepijndevos / futhark-pycffi

Python library using the Futhark C backend via CFFI
MIT License
23 stars 7 forks source link

Strip `extern "C"` declarations #15

Closed NPN closed 3 years ago

NPN commented 3 years ago

These were added to header files in Futhark 0.18.6. Without removing them, a cffi.CDefError: cannot parse "extern "C" {" error will be thrown.

pepijndevos commented 3 years ago

Thanks for the PR!

Bit hackish solution but I can't think of anything better since cffi isn't really a C compiler.