www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Calling D code from C

reply Jonathan M Davis <jmdavisProg gmx.com> writes:
Someone who has actually done a C or C++ application or two which used D code 
should answer this question. I know that there are at least a few folks around 
here who have done that, but I've never done it myself.

http://stackoverflow.com/questions/7480046/implementing-a-c-api-in-d
Sep 19 2011
next sibling parent Kagamin <spam here.lot> writes:
Jonathan M Davis Wrote:

 Someone who has actually done a C or C++ application or two which used D code 
 should answer this question. I know that there are at least a few folks around 
 here who have done that, but I've never done it myself.
 
 http://stackoverflow.com/questions/7480046/implementing-a-c-api-in-d
http://www.digitalmars.com/d/2.0/changelog.html shared libraries are not supported
Sep 20 2011
prev sibling parent Denis Shelomovskij <verylonglogin.reg gmail.com> writes:
20.09.2011 9:55, Jonathan M Davis пишет:
 Someone who has actually done a C or C++ application or two which used D code
 should answer this question. I know that there are at least a few folks around
 here who have done that, but I've never done it myself.

 http://stackoverflow.com/questions/7480046/implementing-a-c-api-in-d
Is smb. reading my mind? Just a few hours ago I had the same question. So, I have written an answer at stackoverflow.com. It isn't about _shared libraries_, but about calling D from C with static linking.
Sep 20 2011