[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 20:48:03 -0400
Ahh, no, you are not missing anything. I did. I missed the 0,0 in the
lua_call. My bad, thanks!
--jnw
You said
>lua_dostring(L,"f()");
>
>is equivalent to
>
>lua_getglobal(L,"f");
>lua_call(L,0,0);
>
>and this last version is faster.
> >why not just #define lua_dostring??
>
> #define it bo be what?
> lua_dostring is real function, it does a lot of work.
> Am I missing something?
> --lhf