Exec function D from C++
Jacob Carlborg via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun Jun 21 09:01:29 PDT 2015
On 21/06/15 16:09, Sean Campbell wrote:
> extern(C++) void d_initialize() {
> Runtime.initialize();
> }
> extern(C++) void d_terminate()
> {
> Runtime.terminate();
> }
These two functions are not necessary. There are already functions in
druntime which are supposed to be called from C/C++:
extern (C) bool rt_init();
extern (C) bool rt_term();
--
/Jacob Carlborg
More information about the Digitalmars-d-learn
mailing list