Re: SDL main within a module
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: SDL main within a module
- From: "Alex Queiroz" <asandroq@...>
- Date: 2006年4月30日 17:49:09 -0300
Hallo,
On 4/30/06, askok@dnainternet.net <askok@dnainternet.net> wrote:
On certain systems, initialization of SDL library is done before main() is called, by 'hijacking' main into
the SDL codebase (-lsdlmain). This is not possible from within an extension module, since a main loop
is already up and running.
Maybe you could use a wrapper script that sets LD_PRELOAD and
then call the Lua executabe. Not beautiful, but...
--
-alex
http://www.ventonegro.org/