[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: calling lua functions from C which use libraries
- From: Jamie Webb <j@...>
- Date: Mon, 14 Jun 2004 10:01:30 +0100
On Monday 14 June 2004 09:38, Tassilo von Parseval wrote:
> Hi everyone,
> I am currently working on an Inline::Lua module for Perl and I need some
> help on triggering lua functions from C when those functions make use of
> lua's shipped library. I did a rather thorough scan through the mailing
> list archive, but apparently this issue hasn't yet been brought up.
You just need to use luaopen_base(L) and friends after you've called
lua_open(). See section 5 of the manual.
-- Jamie Webb