Using D-object with C-executable

Adam D. Ruppe destructionator at gmail.com
Thu Mar 14 07:59:16 PDT 2013


gotta init the d runtime first

extern (C)
         void startd() {
                 Runtime.initialize();
         }


adn then in C, before using any other D, call startd();


More information about the Digitalmars-d-learn mailing list