aboutsummaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1994-11-13 14:17:04 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1994-11-13 14:17:04 -0200
commite1d91fd0e185e295fa15dd508580d3c8d4636960 (patch)
treed56bb171b4fcb0116d05fe4bccfde6357fe75127 /lua.h
parent5e60b961deb0d70935c6b1ec6e92eb7b9f9be75b (diff)
downloadlua-e1d91fd0e185e295fa15dd508580d3c8d4636960.tar.gz
lua-e1d91fd0e185e295fa15dd508580d3c8d4636960.tar.bz2
lua-e1d91fd0e185e295fa15dd508580d3c8d4636960.zip
new API function to create tables
Diffstat (limited to 'lua.h')
-rw-r--r--lua.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lua.h b/lua.h
index f53c091d..3affdb53 100644
--- a/lua.h
+++ b/lua.h
@@ -2,7 +2,7 @@
2** LUA - Linguagem para Usuarios de Aplicacao 2** LUA - Linguagem para Usuarios de Aplicacao
3** Grupo de Tecnologia em Computacao Grafica 3** Grupo de Tecnologia em Computacao Grafica
4** TeCGraf - PUC-Rio 4** TeCGraf - PUC-Rio
5** $Id: lua.h,v 3.5 1994/11/08 19:56:39 roberto Exp roberto $ 5** $Id: lua.h,v 3.6 1994/11/09 18:10:11 roberto Exp roberto $
6*/ 6*/
7 7
8 8
@@ -38,7 +38,7 @@ int lua_callfunction (lua_Object function);
38int lua_call (char *funcname); 38int lua_call (char *funcname);
39 39
40lua_Object lua_getparam (int number); 40lua_Object lua_getparam (int number);
41#define lua_getresult lua_getparam 41#define lua_getresult(_) lua_getparam(_)
42 42
43float lua_getnumber (lua_Object object); 43float lua_getnumber (lua_Object object);
44char *lua_getstring (lua_Object object); 44char *lua_getstring (lua_Object object);
@@ -65,6 +65,7 @@ int lua_lock (lua_Object object);
65lua_Object lua_getlocked (int ref); 65lua_Object lua_getlocked (int ref);
66void lua_unlock (int ref); 66void lua_unlock (int ref);
67 67
68lua_Object lua_createTable (int initSize);
68 69
69/* for lua 1.1 */ 70/* for lua 1.1 */
70 71