mirror of
https://github.com/lua/lua
synced 2026-09-27 00:28:25 +03:00
'dobuffer' addpoted.
This commit is contained in:
parent
6152973f9c
commit
741c6f5006
1 changed files with 3 additions and 5 deletions
8
ldo.c
8
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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue