aboutsummaryrefslogtreecommitdiff
path: root/ldo.c
diff options
context:
space:
mode:
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