robinei
robinei
Interesting. Yeah .def file works on windows, but it would be nice to have a portable solution. I hope this can be a supported way for projects to consume SDL.
[volk](https://github.com/zeux/volk) does this for Vulkan (shipping as a .h and .c pair), supporting Windows, Linux, macOS, iOS and Android.
Indirection is fine, since I will not be calling any SDL functions on hot paths.
Having read about the dynapi support, I see that what I want is to an easily vendorable dynapi-only subset of SDL (so no actual implementations). The purpose is to eliminate...