C binding with D function

bachmeier via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Aug 3 11:40:33 PDT 2016


On Wednesday, 3 August 2016 at 15:56:34 UTC, llaine wrote:

>
> Okay on stack overflow, they are not using ffi but dl.
> I tried changing ffi to dl, it's the same don't work 
> unfortunatly.

This FFI example calls an init function from a library:
https://github.com/ffi/ffi/blob/ce0e712bcb8876620e10c892d0b9005c84d92b53/samples/inotify.rb



More information about the Digitalmars-d-learn mailing list