diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-01-07 17:53:32 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-01-07 17:53:32 -0200 |
| commit | 071b2ae0e1aba719cb3f909d2b02c79f5873ff36 (patch) | |
| tree | 5f3a9bcf60bf4da013ab4a0022dfbac57390917d /lapi.c | |
| parent | e2498e079e4636217e89f0b28844c4b5df4f8793 (diff) | |
| download | lua-071b2ae0e1aba719cb3f909d2b02c79f5873ff36.tar.gz lua-071b2ae0e1aba719cb3f909d2b02c79f5873ff36.tar.bz2 lua-071b2ae0e1aba719cb3f909d2b02c79f5873ff36.zip | |
details
Diffstat (limited to 'lapi.c')
| -rw-r--r-- | lapi.c | 9 |
1 files changed, 2 insertions, 7 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lapi.c,v 2.23 2004/12/13 12:15:11 roberto Exp $ | 2 | ** $Id: lapi.c,v 2.24 2005/01/04 15:55:12 roberto Exp roberto $ |
| 3 | ** Lua API | 3 | ** Lua API |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -826,7 +826,7 @@ LUA_API int lua_dump (lua_State *L, lua_Chunkwriter writer, void *data) { | |||
| 826 | } | 826 | } |
| 827 | 827 | ||
| 828 | 828 | ||
| 829 | LUA_API int lua_threadstatus (lua_State *L) { | 829 | LUA_API int lua_status (lua_State *L) { |
| 830 | return L->status; | 830 | return L->status; |
| 831 | } | 831 | } |
| 832 | 832 | ||
| @@ -890,11 +890,6 @@ LUA_API int lua_gc (lua_State *L, int what, int data) { | |||
| 890 | */ | 890 | */ |
| 891 | 891 | ||
| 892 | 892 | ||
| 893 | LUA_API const char *lua_version (void) { | ||
| 894 | return LUA_VERSION; | ||
| 895 | } | ||
| 896 | |||
| 897 | |||
| 898 | LUA_API int lua_error (lua_State *L) { | 893 | LUA_API int lua_error (lua_State *L) { |
| 899 | lua_lock(L); | 894 | lua_lock(L); |
| 900 | api_checknelems(L, 1); | 895 | api_checknelems(L, 1); |
