diff options
| -rw-r--r-- | lua.h | 8 |
1 files changed, 5 insertions, 3 deletions
| @@ -2,7 +2,7 @@ | |||
| 2 | ** LUA - An Extensible Extension Language | 2 | ** LUA - An Extensible Extension Language |
| 3 | ** TeCGraf: Grupo de Tecnologia em Computacao Grafica, PUC-Rio, Brazil | 3 | ** TeCGraf: Grupo de Tecnologia em Computacao Grafica, PUC-Rio, Brazil |
| 4 | ** e-mail: lua@tecgraf.puc-rio.br | 4 | ** e-mail: lua@tecgraf.puc-rio.br |
| 5 | ** $Id: lua.h,v 4.1 1997/04/03 18:26:08 roberto Exp roberto $ | 5 | ** $Id: lua.h,v 4.2 1997/04/04 22:24:51 roberto Exp roberto $ |
| 6 | */ | 6 | */ |
| 7 | 7 | ||
| 8 | 8 | ||
| @@ -99,8 +99,8 @@ lua_Object lua_createtable (void); | |||
| 99 | 99 | ||
| 100 | lua_Object lua_setfallback (char *event, lua_CFunction fallback); | 100 | lua_Object lua_setfallback (char *event, lua_CFunction fallback); |
| 101 | 101 | ||
| 102 | #define lua_storeglobal(n) lua_setglobal(n) | 102 | #define lua_storeglobal lua_setglobal |
| 103 | #define lua_type(o) (lua_tag(o)) | 103 | #define lua_type lua_tag |
| 104 | 104 | ||
| 105 | void *lua_getuserdata (lua_Object object); | 105 | void *lua_getuserdata (lua_Object object); |
| 106 | 106 | ||
| @@ -118,4 +118,6 @@ void *lua_getuserdata (lua_Object object); | |||
| 118 | #define lua_copystring(o) (strdup(lua_getstring(o))) | 118 | #define lua_copystring(o) (strdup(lua_getstring(o))) |
| 119 | 119 | ||
| 120 | #define lua_getsubscript lua_gettable | 120 | #define lua_getsubscript lua_gettable |
| 121 | #define lua_storesubscript lua_settable | ||
| 122 | |||
| 121 | #endif | 123 | #endif |
