diff options
Diffstat (limited to 'lua.h')
-rw-r--r-- | lua.h | 18 |
1 files changed, 10 insertions, 8 deletions
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lua.h,v 1.131 2002/05/06 19:05:10 roberto Exp roberto $ | 2 | ** $Id: lua.h,v 1.132 2002/05/07 17:36:56 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 |
6 | ** www: http://www.lua.org | 6 | ** www: http://www.lua.org |
7 | ** See Copyright Notice at the end of this file | 7 | ** See Copyright Notice at the end of this file |
@@ -21,7 +21,7 @@ | |||
21 | 21 | ||
22 | 22 | ||
23 | #define LUA_VERSION "Lua 5.0 (alpha)" | 23 | #define LUA_VERSION "Lua 5.0 (alpha)" |
24 | #define LUA_COPYRIGHT "Copyright (C) 1994-2002 TeCGraf, PUC-Rio" | 24 | #define LUA_COPYRIGHT "Copyright (C) 1994-2002 Tecgraf, PUC-Rio" |
25 | #define LUA_AUTHORS "W. Celes, R. Ierusalimschy & L. H. de Figueiredo" | 25 | #define LUA_AUTHORS "W. Celes, R. Ierusalimschy & L. H. de Figueiredo" |
26 | 26 | ||
27 | 27 | ||
@@ -130,7 +130,7 @@ LUA_API int lua_lessthan (lua_State *L, int index1, int index2); | |||
130 | 130 | ||
131 | LUA_API lua_Number lua_tonumber (lua_State *L, int index); | 131 | LUA_API lua_Number lua_tonumber (lua_State *L, int index); |
132 | LUA_API int lua_toboolean (lua_State *L, int index); | 132 | LUA_API int lua_toboolean (lua_State *L, int index); |
133 | LUA_API const char *lua_tostring (lua_State *L, int index); | 133 | LUA_API const char *lua_tostring (lua_State *L, int index); |
134 | LUA_API size_t lua_strlen (lua_State *L, int index); | 134 | LUA_API size_t lua_strlen (lua_State *L, int index); |
135 | LUA_API lua_CFunction lua_tocfunction (lua_State *L, int index); | 135 | LUA_API lua_CFunction lua_tocfunction (lua_State *L, int index); |
136 | LUA_API void *lua_touserdata (lua_State *L, int index); | 136 | LUA_API void *lua_touserdata (lua_State *L, int index); |
@@ -144,7 +144,9 @@ LUA_API void lua_pushnil (lua_State *L); | |||
144 | LUA_API void lua_pushnumber (lua_State *L, lua_Number n); | 144 | LUA_API void lua_pushnumber (lua_State *L, lua_Number n); |
145 | 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); |
146 | 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); | 147 | LUA_API const char *lua_pushvfstring (lua_State *L, const char *fmt, |
148 | va_list argp); | ||
149 | LUA_API const char *lua_pushfstring (lua_State *L, const char *fmt, ...); | ||
148 | LUA_API void lua_pushcclosure (lua_State *L, lua_CFunction fn, int n); | 150 | LUA_API void lua_pushcclosure (lua_State *L, lua_CFunction fn, int n); |
149 | LUA_API void lua_pushboolean (lua_State *L, int b); | 151 | LUA_API void lua_pushboolean (lua_State *L, int b); |
150 | LUA_API void lua_pushudataval (lua_State *L, void *p); | 152 | LUA_API void lua_pushudataval (lua_State *L, void *p); |
@@ -319,7 +321,7 @@ LUA_API int lua_pushupvalues (lua_State *L); | |||
319 | 321 | ||
320 | 322 | ||
321 | /****************************************************************************** | 323 | /****************************************************************************** |
322 | * Copyright (C) 1994-2001 TeCGraf, PUC-Rio. All rights reserved. | 324 | * Copyright (C) 1994-2001 Tecgraf, PUC-Rio. All rights reserved. |
323 | * | 325 | * |
324 | * Permission is hereby granted, without written agreement and without license | 326 | * Permission is hereby granted, without written agreement and without license |
325 | * or royalty fees, to use, copy, modify, and distribute this software and its | 327 | * or royalty fees, to use, copy, modify, and distribute this software and its |
@@ -341,14 +343,14 @@ LUA_API int lua_pushupvalues (lua_State *L); | |||
341 | * to, the implied warranties of merchantability and fitness for a particular | 343 | * to, the implied warranties of merchantability and fitness for a particular |
342 | * purpose. The software provided hereunder is on an "as is" basis, and the | 344 | * purpose. The software provided hereunder is on an "as is" basis, and the |
343 | * authors have no obligation to provide maintenance, support, updates, | 345 | * authors have no obligation to provide maintenance, support, updates, |
344 | * enhancements, or modifications. In no event shall TeCGraf, PUC-Rio, or the | 346 | * enhancements, or modifications. In no event shall Tecgraf, PUC-Rio, or the |
345 | * authors be held liable to any party for direct, indirect, special, | 347 | * authors be held liable to any party for direct, indirect, special, |
346 | * incidental, or consequential damages arising out of the use of this software | 348 | * incidental, or consequential damages arising out of the use of this software |
347 | * and its documentation. | 349 | * and its documentation. |
348 | * | 350 | * |
349 | * The Lua language and this implementation have been entirely designed and | 351 | * The Lua language and this implementation have been entirely designed and |
350 | * written by Waldemar Celes Filho, Roberto Ierusalimschy and | 352 | * written by Waldemar Celes Filho, Roberto Ierusalimschy and |
351 | * Luiz Henrique de Figueiredo at TeCGraf, PUC-Rio. | 353 | * Luiz Henrique de Figueiredo at Tecgraf, PUC-Rio. |
352 | * | 354 | * |
353 | * This implementation contains no third-party code. | 355 | * This implementation contains no third-party code. |
354 | ******************************************************************************/ | 356 | ******************************************************************************/ |