lua

A copy of the Lua development repository
Log | Files | Refs | README

commit 741c6f50067bfb0f351967c321da56805191f302
parent 6152973f9c8a263de4c28d635f76a4e15fb6d297
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date:   Sun, 31 May 1998 19:21:39 -0300

'dobuffer' addpoted.

Diffstat:
Mldo.c | 8+++-----
1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/ldo.c b/ldo.c @@ -1,5 +1,5 @@ /* -** $Id: ldo.c,v 1.23 1998/01/28 17:47:05 roberto Exp roberto $ +** $Id: ldo.c,v 1.24 1998/01/29 15:59:35 roberto Exp roberto $ ** Stack and Call structure of Lua ** See Copyright Notice in lua.h */ @@ -411,13 +411,11 @@ int lua_dostring (char *str) } -#if 0 -int lua_dobuffer (char *buff, int size) -{ +int lua_dobuffer (char *buff, int size) { int status; ZIO z; luaZ_mopen(&z, buff, size, "(buffer)"); status = do_main(&z, 1); return status; } -#endif +