[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: The Lua C API
- From: "Jens Wessling" <wessling@...>
- Date: Wed, 29 Aug 2001 15:28:03 -0400
Cool, thanks, that is good to know. Questions though, why not just #define
lua_dostring??
> >I just meant
> >that for _routines_ that took no arguments and return no values, dostring
> >is a good choice.
>
> lua_dostring(L,"f()");
>
> is equivalent to
>
> lua_getglobal(L,"f");
> lua_call(L,0,0);
>
> and this last version is faster.
> --lhf