C binding with D function

Martin Tschierschke via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Aug 4 08:34:08 PDT 2016


On Thursday, 4 August 2016 at 12:14:48 UTC, Adam D. Ruppe wrote:
> On Thursday, 4 August 2016 at 10:36:05 UTC, llaine wrote:
>> Any idea how can I call them ?
>
> Just like any other function. Consider this:
>
[...]
> Compile
[...]
> hi from D, Ruby user!

Thank you a lot!!! I want to use some vibe.d rendering inside 
Ruby on Rails, this
gives me a god starting point, for my experiments.

Regards mt.



More information about the Digitalmars-d-learn mailing list