I'm able to share the same "namespace" for two different libraries using LuaJit in Linux
A = ffi.load(ffi.os == "Windows" and "opengl32" or "GLESv2")
B = ffi.load(ffi.os == "Windows" and "glfw3" or "glfw")
C = B,A
Doing this allows me to call functions from either library from the C variable
However in windows functions in the last library A can't be found (I'm using the LuaJit binary from https://luapower.com/)
I guess both platforms should behave the same (if it can't be done on both platforms (which would be odd) then neither platform should allow it?)
Is this a bug or is there a more robust method to do what I'm attempting?
C = B, Adoesn't make sense… or at least it assignsBtoCand throws awayA. - nobody