Thread overview | |||||
---|---|---|---|---|---|
|
September 20, 2011 Calling D code from C | ||||
---|---|---|---|---|
| ||||
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 |
September 20, 2011 Re: Calling D code from C | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jonathan M Davis | 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 |
September 20, 2011 Re: Calling D code from C | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jonathan M Davis | 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.
|
Copyright © 1999-2021 by the D Language Foundation