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/lua.h | |
| 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/lua.h')
| -rw-r--r-- | external/mit/lua/dist/src/lua.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/external/mit/lua/dist/src/lua.h b/external/mit/lua/dist/src/lua.h index e6f4cf1d536..66638f19eb1 100644 --- a/external/mit/lua/dist/src/lua.h +++ b/external/mit/lua/dist/src/lua.h @@ -1,4 +1,4 @@ -/* $NetBSD: lua.h,v 1.3 2015/02/02 14:03:05 lneto Exp $ */ +/* $NetBSD: lua.h,v 1.4 2015/02/19 04:46:22 lneto Exp $ */ /* ** Id: lua.h,v 1.325 2014/12/26 17:24:27 roberto Exp @@ -182,11 +182,7 @@ LUA_API void (lua_xmove) (lua_State *from, lua_State *to, int n); ** access functions (stack -> C) */ -#ifndef _KERNEL LUA_API int (lua_isnumber) (lua_State *L, int idx); -#else /* _KERNEL */ -#define lua_isnumber lua_isinteger -#endif LUA_API int (lua_isstring) (lua_State *L, int idx); LUA_API int (lua_iscfunction) (lua_State *L, int idx); LUA_API int (lua_isinteger) (lua_State *L, int idx); |
