aboutsummaryrefslogtreecommitdiff
path: root/ldo.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-12-17 18:57:20 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-12-17 18:57:20 -0200
commit8b5b42563c317f83318a0386551f0f0252e387dc (patch)
tree9912482d5c702a18a8204e19fd38e9c42b9a3755 /ldo.c
parent502343b40230dfb00efc37bdbaa5c5576f3a5aa5 (diff)
downloadlua-8b5b42563c317f83318a0386551f0f0252e387dc.tar.gz
lua-8b5b42563c317f83318a0386551f0f0252e387dc.tar.bz2
lua-8b5b42563c317f83318a0386551f0f0252e387dc.zip
"lua_dobuffer" (is not official, but its there...)
Diffstat (limited to 'ldo.c')
-rw-r--r--ldo.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/ldo.c b/ldo.c
index 5362a0fb..01af05c4 100644
--- a/ldo.c
+++ b/ldo.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldo.c,v 1.14 1997/12/09 13:35:19 roberto Exp roberto $ 2** $Id: ldo.c,v 1.15 1997/12/15 16:17:20 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*/
@@ -405,3 +405,14 @@ int lua_dostring (char *str)
405 return status; 405 return status;
406} 406}
407 407
408
409#if 0
410int lua_dobuffer (char *buff, int size)
411{
412 int status;
413 ZIO z;
414 luaZ_mopen(&z, buff, size);
415 status = do_main(&z, "(buffer)", 1);
416 return status;
417}
418#endif