diff options
Diffstat (limited to 'lua.h')
| -rw-r--r-- | lua.h | 6 |
1 files changed, 5 insertions, 1 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lua.h,v 1.130 2002/05/01 20:48:12 roberto Exp roberto $ | 2 | ** $Id: lua.h,v 1.131 2002/05/06 19:05:10 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: info@lua.org | 5 | ** e-mail: info@lua.org |
| @@ -12,6 +12,9 @@ | |||
| 12 | #define lua_h | 12 | #define lua_h |
| 13 | 13 | ||
| 14 | 14 | ||
| 15 | /* definition of `va_list' */ | ||
| 16 | #include <stdarg.h> | ||
| 17 | |||
| 15 | /* definition of `size_t' */ | 18 | /* definition of `size_t' */ |
| 16 | #include <stddef.h> | 19 | #include <stddef.h> |
| 17 | 20 | ||
| @@ -141,6 +144,7 @@ LUA_API void lua_pushnil (lua_State *L); | |||
| 141 | LUA_API void lua_pushnumber (lua_State *L, lua_Number n); | 144 | LUA_API void lua_pushnumber (lua_State *L, lua_Number n); |
| 142 | LUA_API void lua_pushlstring (lua_State *L, const char *s, size_t len); | 145 | LUA_API void lua_pushlstring (lua_State *L, const char *s, size_t len); |
| 143 | LUA_API void lua_pushstring (lua_State *L, const char *s); | 146 | LUA_API void lua_pushstring (lua_State *L, const char *s); |
| 147 | LUA_API void lua_vpushstr (lua_State *L, const char *fmt, va_list argp); | ||
| 144 | LUA_API void lua_pushcclosure (lua_State *L, lua_CFunction fn, int n); | 148 | LUA_API void lua_pushcclosure (lua_State *L, lua_CFunction fn, int n); |
| 145 | LUA_API void lua_pushboolean (lua_State *L, int b); | 149 | LUA_API void lua_pushboolean (lua_State *L, int b); |
| 146 | LUA_API void lua_pushudataval (lua_State *L, void *p); | 150 | LUA_API void lua_pushudataval (lua_State *L, void *p); |
