CWrap - higher abstraction level for calling C functions

Gour gour at atmarama.net
Wed Feb 22 12:36:09 PST 2012


On Wed, 22 Feb 2012 22:54:19 +0400
Denis Shelomovskij <verylonglogin.reg at gmail.com> wrote:

> OK, I'm here again. Jacob Carlborg is right - CWrap is a different
> tool so it's incorrect to compare it with SWIG/dstep. It's developed
> as a high performance backend for other tools or for manual wrapping
> a couple of functions, not for translating entire *.h files or
> creating class hierarchy.

Thank you for clarification. The doc page just says: "Stuff for
automated wrapping functions written in C." So I thought it's meant for
binding whole libs.

However, I still believe that having dstep producing CWrap output would
be beneficial for those having task to provide D bindings for C libs
with customized D-ish API.


Sincerely,
Gour

-- 
But a person free from all attachment and aversion and able 
to control his senses through regulative principles of 
freedom can obtain the complete mercy of the Lord.

http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-announce/attachments/20120222/d53390de/attachment.pgp>


More information about the Digitalmars-d-announce mailing list