1
0
Fork 0
forked from len0rd/rockbox

* read_bmp_*(): add FORMAT_RETURN_SIZE

* Lua: add luaL_checkboolean() & luaL_optboolean()
* Lua: add read_bmp_file


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21074 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Maurus Cuelenaere 2009-05-25 11:12:27 +00:00
parent b0e0ec832b
commit aec37aa5fe
5 changed files with 64 additions and 5 deletions

View file

@ -58,6 +58,10 @@ LUALIB_API lua_Integer (luaL_checkinteger) (lua_State *L, int numArg);
LUALIB_API lua_Integer (luaL_optinteger) (lua_State *L, int nArg,
lua_Integer def);
LUALIB_API int (luaL_checkboolean) (lua_State *L, int numArg);
LUALIB_API int (luaL_optboolean) (lua_State *L, int nArg,
int def);
LUALIB_API void (luaL_checkstack) (lua_State *L, int sz, const char *msg);
LUALIB_API void (luaL_checktype) (lua_State *L, int narg, int t);
LUALIB_API void (luaL_checkany) (lua_State *L, int narg);