aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2006-10-17 16:59:04 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2006-10-17 16:59:04 -0300
commit3182ac69a7a77232120b8a3c51e1b993e5f9d329 (patch)
treef593a18395582ac89e7fbd35516e679eed591577
parentdead3858b891c93d69d0d4dc8fd8ce370d94f8da (diff)
downloadlua-3182ac69a7a77232120b8a3c51e1b993e5f9d329.tar.gz
lua-3182ac69a7a77232120b8a3c51e1b993e5f9d329.tar.bz2
lua-3182ac69a7a77232120b8a3c51e1b993e5f9d329.zip
towards 5.2 + detail in authors + avoiding reverse plicks
-rw-r--r--lua.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/lua.h b/lua.h
index 960b9857..e7bb2ada 100644
--- a/lua.h
+++ b/lua.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lua.h,v 1.220 2006/09/18 14:03:18 roberto Exp roberto $ 2** $Id: lua.h,v 1.221 2006/10/10 17:40:17 roberto Exp roberto $
3** Lua - An Extensible Extension Language 3** Lua - An Extensible Extension Language
4** Lua.org, PUC-Rio, Brazil (http://www.lua.org) 4** Lua.org, PUC-Rio, Brazil (http://www.lua.org)
5** See Copyright Notice at the end of this file 5** See Copyright Notice at the end of this file
@@ -16,17 +16,17 @@
16#include "luaconf.h" 16#include "luaconf.h"
17 17
18 18
19#define LUA_VERSION "Lua 5.1" 19#define LUA_VERSION "Lua 5.2"
20#define LUA_RELEASE "Lua 5.1.1" 20#define LUA_RELEASE "Lua 5.2.0"
21#define LUA_VERSION_NUM 501 21#define LUA_VERSION_NUM 502
22#define LUA_COPYRIGHT "Copyright (C) 1994-2006 Lua.org, PUC-Rio" 22#define LUA_COPYRIGHT "Copyright (C) 1994-2006 Lua.org, PUC-Rio"
23#define LUA_AUTHORS "R. Ierusalimschy, L. H. de Figueiredo & W. Celes" 23#define LUA_AUTHORS "R. Ierusalimschy, L. H. de Figueiredo, W. Celes"
24 24
25 25
26/* mark for precompiled code (`<esc>Lua') */ 26/* mark for precompiled code ('<esc>Lua') */
27#define LUA_SIGNATURE "\033Lua" 27#define LUA_SIGNATURE "\033Lua"
28 28
29/* option for multiple returns in `lua_pcall' and `lua_call' */ 29/* option for multiple returns in 'lua_pcall' and 'lua_call' */
30#define LUA_MULTRET (-1) 30#define LUA_MULTRET (-1)
31 31
32 32
@@ -197,7 +197,7 @@ LUA_API int (lua_setfenv) (lua_State *L, int idx);
197 197
198 198
199/* 199/*
200** `load' and `call' functions (load and run Lua code) 200** 'load' and 'call' functions (load and run Lua code)
201*/ 201*/
202LUA_API void (lua_call) (lua_State *L, int nargs, int nresults); 202LUA_API void (lua_call) (lua_State *L, int nargs, int nresults);
203LUA_API int (lua_pcall) (lua_State *L, int nargs, int nresults, int errfunc); 203LUA_API int (lua_pcall) (lua_State *L, int nargs, int nresults, int errfunc);
@@ -344,8 +344,8 @@ LUA_API int lua_gethookcount (lua_State *L);
344struct lua_Debug { 344struct lua_Debug {
345 int event; 345 int event;
346 const char *name; /* (n) */ 346 const char *name; /* (n) */
347 const char *namewhat; /* (n) `global', `local', `field', `method' */ 347 const char *namewhat; /* (n) 'global', 'local', 'field', 'method' */
348 const char *what; /* (S) `Lua', `C', `main', `tail' */ 348 const char *what; /* (S) 'Lua', 'C', 'main', 'tail' */
349 const char *source; /* (S) */ 349 const char *source; /* (S) */
350 int currentline; /* (l) */ 350 int currentline; /* (l) */
351 int nups; /* (u) number of upvalues */ 351 int nups; /* (u) number of upvalues */