Is there a tool to automatically create D bindings from C headers? I've hade some problems with obselete D wrappers on github and it would be great to have a tool do all the manual work for me and also assure that my bindings are up-to-date.
Asked
Active
Viewed 290 times
3 Answers
2
htod is available from the dlang website

ratchet freak
- 47,288
- 5
- 68
- 106
-
2You should note that `htod` is Windows only. – yaz Mar 04 '13 at 09:11
-
1It also looks rather outdated to me, have never had a single real-world header that "just worked" after conversion with it. – Mihails Strasuns Mar 04 '13 at 10:46
0
See this thread:
http://forum.dlang.org/thread/mfkesujhjrcqlxxrhmtl@forum.dlang.org?page=1
There's 'dstep'.
'swig' (quite likely the best choice).
'mkconfig' at http://gentoo.com/di/mkconfig.html

Brad Lanam
- 5,192
- 2
- 19
- 29