aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1998-05-31 19:22:00 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1998-05-31 19:22:00 -0300
commit741c6f50067bfb0f351967c321da56805191f302 (patch)
tree125ba72960d582726d16461ccc7992df26c03d99
parent6152973f9c8a263de4c28d635f76a4e15fb6d297 (diff)
downloadlua-741c6f50067bfb0f351967c321da56805191f302.tar.gz
lua-741c6f50067bfb0f351967c321da56805191f302.tar.bz2
lua-741c6f50067bfb0f351967c321da56805191f302.zip
'dobuffer' addpoted.
-rw-r--r--ldo.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/ldo.c b/ldo.c
index 4cde29c1..03126473 100644
--- a/ldo.c
+++ b/ldo.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldo.c,v 1.23 1998/01/28 17:47:05 roberto Exp roberto $ 2** $Id: ldo.c,v 1.24 1998/01/29 15:59:35 roberto Exp roberto $
3** Stack and Call structure of Lua 3** Stack and Call structure of Lua
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -411,13 +411,11 @@ int lua_dostring (char *str)
411} 411}
412 412
413 413
414#if 0 414int lua_dobuffer (char *buff, int size) {
415int lua_dobuffer (char *buff, int size)
416{
417 int status; 415 int status;
418 ZIO z; 416 ZIO z;
419 luaZ_mopen(&z, buff, size, "(buffer)"); 417 luaZ_mopen(&z, buff, size, "(buffer)");
420 status = do_main(&z, 1); 418 status = do_main(&z, 1);
421 return status; 419 return status;
422} 420}
423#endif 421