[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: OpenGL Interface for LUA (OIL)
- From: Martin Spernau <martin@...>
- Date: Sun, 02 Nov 2003 20:27:45 +0100
Jason P wrote:
Also, is an external .lua script with each module really
needed? I mean you could embed the test script and call it with a:
const char *luaLM_test(void);
perhaps? Eliminating the need for two files for each module.
There's one reason for doing it the *.lua stub-loader script way:
flexibility. This way any kind of dynamically loadable module can be
used via a standard convention for the user. The script defines how the
module is loaded. (This is important when the module is not core part of
Another is the fact that a LuaCheia module need by no means be a binary
modules. It can be a Lua-only module, whatever.