diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1994-12-28 10:55:47 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1994-12-28 10:55:47 -0200 |
| commit | df3a81ec88cdab5afca66e550c9bd768c21963e2 (patch) | |
| tree | 4241b194d250d78ee5a18de51bce4a00e1c188f9 /lua.h | |
| parent | b8e76d9b5c86182998c0616627607181154a60b1 (diff) | |
| download | lua-df3a81ec88cdab5afca66e550c9bd768c21963e2.tar.gz lua-df3a81ec88cdab5afca66e550c9bd768c21963e2.tar.bz2 lua-df3a81ec88cdab5afca66e550c9bd768c21963e2.zip | |
functions that no more return error codes now have return type void
Diffstat (limited to 'lua.h')
| -rw-r--r-- | lua.h | 20 |
1 files changed, 10 insertions, 10 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.12 1994/12/13 15:54:21 roberto Exp roberto $ | 5 | ** $Id: lua.h,v 3.13 1994/12/16 15:55:55 roberto Exp roberto $ |
| 6 | */ | 6 | */ |
| 7 | 7 | ||
| 8 | 8 | ||
| @@ -49,18 +49,18 @@ char *lua_getstring (lua_Object object); | |||
| 49 | lua_CFunction lua_getcfunction (lua_Object object); | 49 | lua_CFunction lua_getcfunction (lua_Object object); |
| 50 | void *lua_getuserdata (lua_Object object); | 50 | void *lua_getuserdata (lua_Object object); |
| 51 | 51 | ||
| 52 | int lua_pushnil (void); | 52 | void lua_pushnil (void); |
| 53 | int lua_pushnumber (float n); | 53 | void lua_pushnumber (float n); |
| 54 | int lua_pushstring (char *s); | 54 | void lua_pushstring (char *s); |
| 55 | int lua_pushliteral (char *s); | 55 | void lua_pushliteral (char *s); |
| 56 | int lua_pushcfunction (lua_CFunction fn); | 56 | void lua_pushcfunction (lua_CFunction fn); |
| 57 | int lua_pushusertag (void *u, int tag); | 57 | void lua_pushusertag (void *u, int tag); |
| 58 | int lua_pushobject (lua_Object object); | 58 | void lua_pushobject (lua_Object object); |
| 59 | 59 | ||
| 60 | lua_Object lua_getglobal (char *name); | 60 | lua_Object lua_getglobal (char *name); |
| 61 | int lua_storeglobal (char *name); | 61 | void lua_storeglobal (char *name); |
| 62 | 62 | ||
| 63 | int lua_storesubscript (void); | 63 | void lua_storesubscript (void); |
| 64 | lua_Object lua_getsubscript (void); | 64 | lua_Object lua_getsubscript (void); |
| 65 | 65 | ||
| 66 | int lua_type (lua_Object object); | 66 | int lua_type (lua_Object object); |
