aboutsummaryrefslogtreecommitdiff
path: root/lauxlib.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-05-25 10:21:26 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-05-25 10:21:26 -0300
commite8a7ecb982effdfc1148098b288c6ac7130f756e (patch)
tree5229dadc11873122ff55042e1d08f545d25bb839 /lauxlib.h
parent38da9d568a4702a6f9405882db56c2a2aa3189c1 (diff)
downloadlua-e8a7ecb982effdfc1148098b288c6ac7130f756e.tar.gz
lua-e8a7ecb982effdfc1148098b288c6ac7130f756e.tar.bz2
lua-e8a7ecb982effdfc1148098b288c6ac7130f756e.zip
luaL_findstring -> luaL_checkoption
Diffstat (limited to 'lauxlib.h')
-rw-r--r--lauxlib.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lauxlib.h b/lauxlib.h
index 323798bc..2fcb193c 100644
--- a/lauxlib.h
+++ b/lauxlib.h
@@ -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);
59LUALIB_API void (luaL_where) (lua_State *L, int lvl); 59LUALIB_API void (luaL_where) (lua_State *L, int lvl);
60LUALIB_API int (luaL_error) (lua_State *L, const char *fmt, ...); 60LUALIB_API int (luaL_error) (lua_State *L, const char *fmt, ...);
61 61
62LUALIB_API int (luaL_findstring) (const char *st, const char *const lst[]); 62LUALIB_API int (luaL_checkoption) (lua_State *L, int narg, const char *def,
63 const char *const lst[]);
63 64
64LUALIB_API const char *(luaL_searchpath) (lua_State *L, const char *name, 65LUALIB_API const char *(luaL_searchpath) (lua_State *L, const char *name,
65 const char *path); 66 const char *path);