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.
D Binding Generation Tool
Asked Answered
There is also dstep by Jacob Carlborg which uses LLVM to provide the header conversion.
htod is available from the dlang website
It also looks rather outdated to me, have never had a single real-world header that "just worked" after conversion with it. –
Berkelium
See this thread:
http://forum.dlang.org/thread/[email protected]?page=1
There's 'dstep'.
'swig' (quite likely the best choice).
'mkconfig' at http://gentoo.com/di/mkconfig.html
© 2022 - 2024 — McMap. All rights reserved.
htod
is Windows only. – Xena