diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-09-18 16:39:18 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-09-18 16:39:18 -0300 |
| commit | 91c003dcc2d84094a1098151c343071b19949910 (patch) | |
| tree | 0a7dc06a59f0c6b03dbd96e16df81208c3430568 | |
| parent | 620d22f2a09ccfe5b7a09ebc11a7b5dca28ac9e4 (diff) | |
| download | lua-91c003dcc2d84094a1098151c343071b19949910.tar.gz lua-91c003dcc2d84094a1098151c343071b19949910.tar.bz2 lua-91c003dcc2d84094a1098151c343071b19949910.zip | |
details
| -rw-r--r-- | lua.h | 18 |
1 files changed, 9 insertions, 9 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lua.h,v 1.68 2000/09/12 13:46:59 roberto Exp roberto $ | 2 | ** $Id: lua.h,v 1.69 2000/09/14 14:09:31 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 |
| @@ -101,9 +101,9 @@ void lua_pushusertag (lua_State *L, void *u, int tag); | |||
| 101 | ** get functions (Lua -> stack) | 101 | ** get functions (Lua -> stack) |
| 102 | */ | 102 | */ |
| 103 | void lua_getglobal (lua_State *L, const char *name); | 103 | void lua_getglobal (lua_State *L, const char *name); |
| 104 | void lua_gettable (lua_State *L, int tableindex); | 104 | void lua_gettable (lua_State *L, int index); |
| 105 | void lua_rawget (lua_State *L, int tableindex); | 105 | void lua_rawget (lua_State *L, int index); |
| 106 | void lua_rawgeti (lua_State *L, int tableindex, int n); | 106 | void lua_rawgeti (lua_State *L, int index, int n); |
| 107 | void lua_getglobals (lua_State *L); | 107 | void lua_getglobals (lua_State *L); |
| 108 | void lua_gettagmethod (lua_State *L, int tag, const char *event); | 108 | void lua_gettagmethod (lua_State *L, int tag, const char *event); |
| 109 | 109 | ||
| @@ -116,9 +116,9 @@ void lua_newtable (lua_State *L); | |||
| 116 | ** set functions (stack -> Lua) | 116 | ** set functions (stack -> Lua) |
| 117 | */ | 117 | */ |
| 118 | void lua_setglobal (lua_State *L, const char *name); | 118 | void lua_setglobal (lua_State *L, const char *name); |
| 119 | void lua_settable (lua_State *L, int tableindex); | 119 | void lua_settable (lua_State *L, int index); |
| 120 | void lua_rawset (lua_State *L, int tableindex); | 120 | void lua_rawset (lua_State *L, int index); |
| 121 | void lua_rawseti (lua_State *L, int tableindex, int n); | 121 | void lua_rawseti (lua_State *L, int index, int n); |
| 122 | void lua_setglobals (lua_State *L); | 122 | void lua_setglobals (lua_State *L); |
| 123 | void lua_settagmethod (lua_State *L, int tag, const char *event); | 123 | void lua_settagmethod (lua_State *L, int tag, const char *event); |
| 124 | int lua_ref (lua_State *L, int lock); | 124 | int lua_ref (lua_State *L, int lock); |
| @@ -148,8 +148,8 @@ void lua_unref (lua_State *L, int ref); | |||
| 148 | 148 | ||
| 149 | long lua_collectgarbage (lua_State *L, long limit); | 149 | long lua_collectgarbage (lua_State *L, long limit); |
| 150 | 150 | ||
| 151 | int lua_next (lua_State *L, int tableindex); | 151 | int lua_next (lua_State *L, int index); |
| 152 | int lua_getn (lua_State *L, int tableindex); | 152 | int lua_getn (lua_State *L, int index); |
| 153 | 153 | ||
| 154 | void lua_concat (lua_State *L, int n); | 154 | void lua_concat (lua_State *L, int n); |
| 155 | 155 | ||
