|
Viacheslav Usov wrote on 2/18/2017 8:16
AM:
I didn't expose lua.h and company publicly. My wrapper at the time was the C++ LuaPlus library, so all Lua functionality was exposed, just through a different API. I wasn't happy about it, because LuaPlus generally inlines everything, but it was necessary. Your other choice is to turn all macros into functions with the bodies of the functions in a .c file. That's a lot of surgery, but hey, getting two Lua versions to work statically is a lot of surgery anyway. -Josh |