More automated interfacing of D with C codebases
Brad Lanam
brad.lanam.comp at -NOSPAM-gmail.com
Sun Oct 21 12:23:39 PDT 2012
I don't think this is exactly what you want either, but it's
certainly a lot easier than a manual process:
http://gentoo.com/di/mkconfig.html
(On Freecode) https://freecode.com/projects/mkconfig
I just now released a new version. Freecode will be updated
within 24 hours.
Check the examples/dtcltk/ directory.
There's also a simpler example within the D/ subdirectory in:
http://gentoo.com/di/
Macros have to have their signature specified. e.g.:
cmacro Tcl_InitMemory tcl.h void 'Tcl_Interp *'
cmacro ScreenOfDisplay X11/Xlib.h 'Screen *' 'Display' int
-- Brad
More information about the Digitalmars-d-learn
mailing list