diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-05-25 10:21:26 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-05-25 10:21:26 -0300 |
commit | e8a7ecb982effdfc1148098b288c6ac7130f756e (patch) | |
tree | 5229dadc11873122ff55042e1d08f545d25bb839 /lauxlib.h | |
parent | 38da9d568a4702a6f9405882db56c2a2aa3189c1 (diff) | |
download | lua-e8a7ecb982effdfc1148098b288c6ac7130f756e.tar.gz lua-e8a7ecb982effdfc1148098b288c6ac7130f756e.tar.bz2 lua-e8a7ecb982effdfc1148098b288c6ac7130f756e.zip |
luaL_findstring -> luaL_checkoption
Diffstat (limited to 'lauxlib.h')
-rw-r--r-- | lauxlib.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lauxlib.h,v 1.75 2005/03/29 16:20:48 roberto Exp roberto $ | 2 | ** $Id: lauxlib.h,v 1.76 2005/05/20 19:09:05 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 | */ |
@@ -59,7 +59,8 @@ LUALIB_API void *(luaL_checkudata) (lua_State *L, int ud, const char *tname); | |||
59 | LUALIB_API void (luaL_where) (lua_State *L, int lvl); | 59 | LUALIB_API void (luaL_where) (lua_State *L, int lvl); |
60 | LUALIB_API int (luaL_error) (lua_State *L, const char *fmt, ...); | 60 | LUALIB_API int (luaL_error) (lua_State *L, const char *fmt, ...); |
61 | 61 | ||
62 | LUALIB_API int (luaL_findstring) (const char *st, const char *const lst[]); | 62 | LUALIB_API int (luaL_checkoption) (lua_State *L, int narg, const char *def, |
63 | const char *const lst[]); | ||
63 | 64 | ||
64 | LUALIB_API const char *(luaL_searchpath) (lua_State *L, const char *name, | 65 | LUALIB_API const char *(luaL_searchpath) (lua_State *L, const char *name, |
65 | const char *path); | 66 | const char *path); |