aboutsummaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lua.h18
1 files changed, 10 insertions, 8 deletions
diff --git a/lua.h b/lua.h
index ba2069e7..58af7a92 100644
--- a/lua.h
+++ b/lua.h
@@ -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
131LUA_API lua_Number lua_tonumber (lua_State *L, int index); 131LUA_API lua_Number lua_tonumber (lua_State *L, int index);
132LUA_API int lua_toboolean (lua_State *L, int index); 132LUA_API int lua_toboolean (lua_State *L, int index);
133LUA_API const char *lua_tostring (lua_State *L, int index); 133LUA_API const char *lua_tostring (lua_State *L, int index);
134LUA_API size_t lua_strlen (lua_State *L, int index); 134LUA_API size_t lua_strlen (lua_State *L, int index);
135LUA_API lua_CFunction lua_tocfunction (lua_State *L, int index); 135LUA_API lua_CFunction lua_tocfunction (lua_State *L, int index);
136LUA_API void *lua_touserdata (lua_State *L, int index); 136LUA_API void *lua_touserdata (lua_State *L, int index);
@@ -144,7 +144,9 @@ LUA_API void lua_pushnil (lua_State *L);
144LUA_API void lua_pushnumber (lua_State *L, lua_Number n); 144LUA_API void lua_pushnumber (lua_State *L, lua_Number n);
145LUA_API void lua_pushlstring (lua_State *L, const char *s, size_t len); 145LUA_API void lua_pushlstring (lua_State *L, const char *s, size_t len);
146LUA_API void lua_pushstring (lua_State *L, const char *s); 146LUA_API void lua_pushstring (lua_State *L, const char *s);
147LUA_API void lua_vpushstr (lua_State *L, const char *fmt, va_list argp); 147LUA_API const char *lua_pushvfstring (lua_State *L, const char *fmt,
148 va_list argp);
149LUA_API const char *lua_pushfstring (lua_State *L, const char *fmt, ...);
148LUA_API void lua_pushcclosure (lua_State *L, lua_CFunction fn, int n); 150LUA_API void lua_pushcclosure (lua_State *L, lua_CFunction fn, int n);
149LUA_API void lua_pushboolean (lua_State *L, int b); 151LUA_API void lua_pushboolean (lua_State *L, int b);
150LUA_API void lua_pushudataval (lua_State *L, void *p); 152LUA_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******************************************************************************/