Initializing D in C to use?
K.K. via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri Oct 17 10:14:30 PDT 2014
On Friday, 17 October 2014 at 16:35:46 UTC, Jeremy DeHaan wrote:
> I'm starting a new project, and I plan on creating a C
> interface in case other languages want to use it. I remember
> reading something(but my googlefu is weak today) about having
> to initialize the runtime if you are using D inside another
> language. Can anyone confirm this is the case?
>
> I just wanted to make sure I make that explicit for users if
> they don't want to use the library with D.
>
> Thanks all!
> Jeremy
Sorry if this isn't the most helpful answer but.. Do you have
Adam Ruppe's book?
On pg96, "Writing part of a C program in D" it sounds like he
does what you're asking.
I was gonna write more, but being I haven't tried it before, I
don't wanna start giving potentially false info
...I mean I could write more but it's probably a bad idea getting
help from me xD
More information about the Digitalmars-d-learn
mailing list