luaa: remove useless luaA_getopt_string()
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
f188c10fa4
commit
88025f3d16
6
luaa.h
6
luaa.h
|
@ -203,12 +203,6 @@ luaA_getopt_lstring(lua_State *L, int idx, const char *name, const char *def, si
|
||||||
return luaL_optlstring(L, -1, def, len);
|
return luaL_optlstring(L, -1, def, len);
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline const char *
|
|
||||||
luaA_getopt_string(lua_State *L, int idx, const char *name, const char *def)
|
|
||||||
{
|
|
||||||
return luaA_getopt_lstring(L, idx, name, def, NULL);
|
|
||||||
}
|
|
||||||
|
|
||||||
static inline bool
|
static inline bool
|
||||||
luaA_getopt_boolean(lua_State *L, int idx, const char *name, bool def)
|
luaA_getopt_boolean(lua_State *L, int idx, const char *name, bool def)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue