diff options
| -rw-r--r-- | lua.h | 20 |
1 files changed, 10 insertions, 10 deletions
| @@ -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 | */ |
| 202 | LUA_API void (lua_call) (lua_State *L, int nargs, int nresults); | 202 | LUA_API void (lua_call) (lua_State *L, int nargs, int nresults); |
| 203 | LUA_API int (lua_pcall) (lua_State *L, int nargs, int nresults, int errfunc); | 203 | LUA_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); | |||
| 344 | struct lua_Debug { | 344 | struct 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 */ |
