crystal-lang / crystal_lib

Automatic binding generator for native libraries in Crystal
138 stars 30 forks source link

Fix compilation for 0.7.4 + A few more libclang function bindings #4

Closed bebac closed 9 years ago

bebac commented 9 years ago

Not sure if you are planning to evolve this tool. I for sure like the idea! Was thinking about creating bindings for libflac, but that is tedious to do by hand :-)

This is obviously a small contribution, but I believe these functions will be needed to extract the information needed to generate the library module.

Not sure how to set the ldflags. clang doesn't seem to use pkg-config. Everything I tried so far seems to work fine with libclang 3.6 installed via apt-get on Ubuntu 15.04

asterite commented 9 years ago

Sorry, just now I see this. The project took a different direction so the changes don't apply anymore. Thanks anyway!