4 ms·
Writing bindings for C libraries is ridiculously easy. You can run a script that generates the corrects .ads for a header file and then... wait, there is no ste
by kqr 8y ago
Writing bindings for C libraries is ridiculously easy. You can run a script that generates the corrects .ads for a header file and then... wait, there is no step 2. That's it!
- fuball63 8y agoThat is cool. Is the script something I can download somewhere?
- OneWingedShark 8y agoIf you have GCC or G++, simply use the `-fdump-ada-spec` command-line option; done. (see: https://www.adacore.com/gems/gem-59 https://www.adacore.com/gems/gem-59 )