Re:Learning Ada
by kqr on Sunday March 31, 2019 @11:17PM
(#19540149)
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!
[ Parent
| on HN ]
That is cool. Is the script something I can download somewhere?
Re:Learning Ada
by OneWingedShark on Monday April 15, 2019 @10:10AM
(#19665390)
If you have GCC or G++, simply use the `-fdump-ada-spec` command-line option; done.