[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: lua_dostring not in Lua 5.1?
- From: Chris Marrin <chris@...>
- Date: Sun, 11 Sep 2005 20:30:03 -0700
Luiz Henrique de Figueiredo wrote:
Here is another missing function in 5.1: lua_dostring(). Do I need to
use luaL_loadstring and then execute it?
Try luaL_dostring.
OBTW, I did not find a luaL_dobuffer() to match the missing
lua_dobuffer(). Is this being removed, or has it just not made it into
the release yet? I know it's not a big deal implementing this by hand,
looking at the macro that is luaL_dostring(). But it would be nice to
have for consistency.
--
chris marrin ,""$, "As a general rule,don't solve puzzles
chris@marrin.com b` $ that open portals to Hell" ,,.
,.` ,b` ,` , 1$'
,|` mP ,` :$$' ,mm
,b" b" ,` ,mm m$$ ,m ,`P$$
m$` ,b` .` ,mm ,'|$P ,|"1$` ,b$P ,` :$1
b$` ,$: :,`` |$$ ,` $$` ,|` ,$$,,`"$$ .` :$|
b$| _m$`,:` :$1 ,` ,$Pm|` ` :$$,..;"' |$:
P$b, _;b$$b$1" |$$ ,` ,$$" ``' $$
```"```'" `"` `""` ""` ,P`