From 8b5b42563c317f83318a0386551f0f0252e387dc Mon Sep 17 00:00:00 2001
From: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date: Wed, 17 Dec 1997 18:57:20 -0200
Subject: "lua_dobuffer" (is not official, but its there...)

---
 ldo.c | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/ldo.c b/ldo.c
index 5362a0fb..01af05c4 100644
--- a/ldo.c
+++ b/ldo.c
@@ -1,5 +1,5 @@
 /*
-** $Id: ldo.c,v 1.14 1997/12/09 13:35:19 roberto Exp roberto $
+** $Id: ldo.c,v 1.15 1997/12/15 16:17:20 roberto Exp roberto $
 ** Stack and Call structure of Lua
 ** See Copyright Notice in lua.h
 */
@@ -405,3 +405,14 @@ int lua_dostring (char *str)
   return status;
 }
 
+
+#if 0
+int lua_dobuffer (char *buff, int size)
+{
+  int status;
+  ZIO z;
+  luaZ_mopen(&z, buff, size);
+  status = do_main(&z, "(buffer)", 1);
+  return status;
+}
+#endif
-- 
cgit v1.2.3-55-g6feb