Could you anybody using DerelictSDL2 on Android?
Mike Parker
aldacron at gmail.com
Sun Aug 12 03:35:35 UTC 2018
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.
More information about the Digitalmars-d-learn
mailing list