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

Reply via email to