diff options
| author | lneto <lneto@NetBSD.org> | 2015-02-19 04:46:22 +0000 |
|---|---|---|
| committer | lneto <lneto@NetBSD.org> | 2015-02-19 04:46:22 +0000 |
| commit | 48b9f4df647bae745741b671ce8cb7b4511fb9fd (patch) | |
| tree | d938577ecefa6ea7f8177c24add1a1916017e99a /external/mit/lua/dist/src/lapi.c | |
| parent | 6da14cd18391b0dbaa8d19ba209f131530fe91e3 (diff) | |
lua(4): small fixes in kernel Lua
* fixed hex parsing
* restored lua_isnumber
* removed unwanted macros from luaconf.h
* restored <stdarg.h> include in ldebug.c
* removed doubles from unions
* removed unused functions
Diffstat (limited to 'external/mit/lua/dist/src/lapi.c')
| -rw-r--r-- | external/mit/lua/dist/src/lapi.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/external/mit/lua/dist/src/lapi.c b/external/mit/lua/dist/src/lapi.c index 20704422d4a..a0087ce216a 100644 --- a/external/mit/lua/dist/src/lapi.c +++ b/external/mit/lua/dist/src/lapi.c @@ -1,4 +1,4 @@ -/* $NetBSD: lapi.c,v 1.3 2015/02/02 14:03:05 lneto Exp $ */ +/* $NetBSD: lapi.c,v 1.4 2015/02/19 04:46:22 lneto Exp $ */ /* ** Id: lapi.c,v 2.244 2014/12/26 14:43:45 roberto Exp @@ -276,13 +276,11 @@ LUA_API int lua_isinteger (lua_State *L, int idx) { } -#ifndef _KERNEL LUA_API int lua_isnumber (lua_State *L, int idx) { lua_Number n; const TValue *o = index2addr(L, idx); return tonumber(o, &n); } -#endif LUA_API int lua_isstring (lua_State *L, int idx) { |
