On Wed, Nov 30, 2011 at 12:32 PM, Mike Pall<mikelu-1111@mike.de> wrote:
I don't think you understood what I said. Your code may still be
running under either Lua or LuaJIT. It only depends on which
library you link against and/or from which VM your module is
loaded. The C compiler cannot know that. You definitely want to
print the version info provided at runtime, not a static version.
Maybe Antonio's C code isn't a module, but is embedding Lua? In that
case, i think the question makes some sense, even if the chosen
library could still be changed at dynamic link time....