On 2012-02-21 13:12, Gour wrote:
On Mon, 20 Feb 2012 20:52:04 +0100
Jacob Carlborg<[email protected]> wrote:
As I understand it, CWrap provides more than just bindings for a C
function.
Right, but, afaik, SWIG can also make more than wrapper for a C function
by using typemaps, %exception etc.
Does it mean that dstep is only tool for wrapping C function for usage
in D?
SWIG or dstep could output CWrap bindings.
The former probably won't bother to do it, but wonder about the latter?
DStep is currently used only for automatically generating bindings for C
functions and Objective-C classes and methods.
But it depends what code I output, I could change dstep to output code
that uses CWrap.
--
/Jacob Carlborg