On Saturday, 11 August 2018 at 15:46:47 UTC, tide wrote:

extern(C) is a feature, Derelict are libraries.

https://dlang.org/spec/interfaceToC.html

You can use Derelict "static" to the same effect I think, but they way they achieve it doesn't play well with auto completion and such.

All of the Derelict declarations *are* extern(C). If you use the dynamic bindings, you won't get autocompletion because the declarations are function pointers. If you use the static binding option, you will get autocompletion the same as if you implemented it yourself.

Reply via email to