[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Embedding LUA in a .so
- From: Maxime Petazzoni <maxime.petazzoni@...>
- Date: Fri, 10 Mar 2006 16:42:30 +0100
* Luiz Henrique de Figueiredo <email@example.com> [2006-03-10 12:23:11]:
> > Is there a simple and esthetic way to embed Lua source code into a C
> > source file ? My problem is that I'd like to bundle in a .so that
> > cannot open another file (with luaL_openfile) for example.
> I'm not sure what you mean, but have a look at srlua:
Not exactly. I need to produce a .so that will further be loaded by
another program, but I can only give this program one single .so file,
so the .so must include in some way the Lua code to be executed.
The goal is to be able to use Lua programming (simpler) in an existing
"loading" architecture originally made for loading C code -shared
Maxime Petazzoni (http://www.bulix.org)
-- gone crazy, back soon. leave message.
Description: Digital signature