You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for reporting, I'm on it. I've added the imports, but I'm not sure about the extra annotations. __gshared: and extern(C) should be redundant, not sure what export does, and the lack of @nogcnothrow should not be a problem when you use the prototype from apinative.d, but I'll have to look into it when I boot on Windows.
I've run into this. export specifies on Windows that this is part of the exported DLL data symbols. If you don't include export, it won't link (for DLLs). this is not needed for functions for some reason. See e.g. I had to do this here: schveiguy/raylib-d@6c58d34
Hi!
I've tried using
apinative.d
as I need access to the native window handle. But I get import errors, and also linking errors.This patch seems to fix it:
Not sure it's the best way to do it. Let me know if you want me to PR it. Cheers~
The text was updated successfully, but these errors were encountered: