zig
zig copied to clipboard
add ability to open dlls with platform-specific flags
Only implemented for Windows right now, I'm not sure that I've written any of this correctly but the idea is there. Please give me feedback as I still have not actually written real zig anywhere before.
reading https://learn.microsoft.com/en-us/windows/win32/api/libloaderapi/nf-libloaderapi-loadlibraryexw, LoadLibraryFlags
looks like it should be an enum instead
Ah, you're right. I must have missed "one of the following values".
Thanks!