diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-10-25 18:31:11 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-10-25 18:31:11 -0200 |
| commit | c6b64ffe65549b179bfa565e8329430857e335ee (patch) | |
| tree | 9fa644de3c5dc2e4edf42aac7249b42264f2f6e5 /lauxlib.h | |
| parent | 4590a89b32b62c75fca7ced96c282c7793b8885c (diff) | |
| download | lua-c6b64ffe65549b179bfa565e8329430857e335ee.tar.gz lua-c6b64ffe65549b179bfa565e8329430857e335ee.tar.bz2 lua-c6b64ffe65549b179bfa565e8329430857e335ee.zip | |
new type lua_Unsigned and corresponding projection/injection functions
Diffstat (limited to 'lauxlib.h')
| -rw-r--r-- | lauxlib.h | 5 |
1 files changed, 4 insertions, 1 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lauxlib.h,v 1.107 2010/06/30 17:40:27 roberto Exp roberto $ | 2 | ** $Id: lauxlib.h,v 1.108 2010/07/02 11:38:13 roberto Exp roberto $ |
| 3 | ** Auxiliary functions for building Lua libraries | 3 | ** Auxiliary functions for building Lua libraries |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -44,6 +44,9 @@ LUALIB_API lua_Number (luaL_optnumber) (lua_State *L, int nArg, lua_Number def); | |||
| 44 | LUALIB_API lua_Integer (luaL_checkinteger) (lua_State *L, int numArg); | 44 | LUALIB_API lua_Integer (luaL_checkinteger) (lua_State *L, int numArg); |
| 45 | LUALIB_API lua_Integer (luaL_optinteger) (lua_State *L, int nArg, | 45 | LUALIB_API lua_Integer (luaL_optinteger) (lua_State *L, int nArg, |
| 46 | lua_Integer def); | 46 | lua_Integer def); |
| 47 | LUALIB_API lua_Unsigned (luaL_checkunsigned) (lua_State *L, int numArg); | ||
| 48 | LUALIB_API lua_Unsigned (luaL_optunsigned) (lua_State *L, int numArg, | ||
| 49 | lua_Unsigned def); | ||
| 47 | 50 | ||
| 48 | LUALIB_API void (luaL_checkstack) (lua_State *L, int sz, const char *msg); | 51 | LUALIB_API void (luaL_checkstack) (lua_State *L, int sz, const char *msg); |
| 49 | LUALIB_API void (luaL_checktype) (lua_State *L, int narg, int t); | 52 | LUALIB_API void (luaL_checktype) (lua_State *L, int narg, int t); |
