diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1994-11-13 14:17:04 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1994-11-13 14:17:04 -0200 |
commit | e1d91fd0e185e295fa15dd508580d3c8d4636960 (patch) | |
tree | d56bb171b4fcb0116d05fe4bccfde6357fe75127 /lua.h | |
parent | 5e60b961deb0d70935c6b1ec6e92eb7b9f9be75b (diff) | |
download | lua-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.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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); | |||
38 | int lua_call (char *funcname); | 38 | int lua_call (char *funcname); |
39 | 39 | ||
40 | lua_Object lua_getparam (int number); | 40 | lua_Object lua_getparam (int number); |
41 | #define lua_getresult lua_getparam | 41 | #define lua_getresult(_) lua_getparam(_) |
42 | 42 | ||
43 | float lua_getnumber (lua_Object object); | 43 | float lua_getnumber (lua_Object object); |
44 | char *lua_getstring (lua_Object object); | 44 | char *lua_getstring (lua_Object object); |
@@ -65,6 +65,7 @@ int lua_lock (lua_Object object); | |||
65 | lua_Object lua_getlocked (int ref); | 65 | lua_Object lua_getlocked (int ref); |
66 | void lua_unlock (int ref); | 66 | void lua_unlock (int ref); |
67 | 67 | ||
68 | lua_Object lua_createTable (int initSize); | ||
68 | 69 | ||
69 | /* for lua 1.1 */ | 70 | /* for lua 1.1 */ |
70 | 71 | ||