aboutsummaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-11-04 13:27:53 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-11-04 13:27:53 -0200
commit45cad43c3fedb13a5e424429fe94dc78ba01a118 (patch)
treee5dae021aa66accc06b6941add38bf2d495c6440 /lua.h
parentdad5a01fb07e8a654f195ec3a9ca271cd5ee32e3 (diff)
downloadlua-45cad43c3fedb13a5e424429fe94dc78ba01a118.tar.gz
lua-45cad43c3fedb13a5e424429fe94dc78ba01a118.tar.bz2
lua-45cad43c3fedb13a5e424429fe94dc78ba01a118.zip
"lua_open": now lua has an explicit open operation.
Diffstat (limited to 'lua.h')
-rw-r--r--lua.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/lua.h b/lua.h
index 91d80c02..4fa70b57 100644
--- a/lua.h
+++ b/lua.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lua.h,v 1.1 1997/09/16 19:25:59 roberto Exp roberto $ 2** $Id: lua.h,v 1.2 1997/10/24 17:17:24 roberto Exp roberto $
3** LUA - An Extensible Extension Language 3** LUA - An Extensible Extension Language
4** TeCGraf: Grupo de Tecnologia em Computacao Grafica, PUC-Rio, Brazil 4** TeCGraf: Grupo de Tecnologia em Computacao Grafica, PUC-Rio, Brazil
5** e-mail: lua@tecgraf.puc-rio.br 5** e-mail: lua@tecgraf.puc-rio.br
@@ -53,9 +53,12 @@
53typedef void (*lua_CFunction) (void); 53typedef void (*lua_CFunction) (void);
54typedef unsigned int lua_Object; 54typedef unsigned int lua_Object;
55 55
56lua_Object lua_settagmethod (int tag, char *event); /* In: luaM_new method */ 56
57void lua_open (void);
58
59lua_Object lua_settagmethod (int tag, char *event); /* In: new method */
57lua_Object lua_gettagmethod (int tag, char *event); 60lua_Object lua_gettagmethod (int tag, char *event);
58lua_Object lua_seterrormethod (void); /* In: luaM_new method */ 61lua_Object lua_seterrormethod (void); /* In: new method */
59 62
60int lua_newtag (void); 63int lua_newtag (void);
61void lua_settag (int tag); /* In: object */ 64void lua_settag (int tag); /* In: object */