feat(util/name): expose is_list_name function

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2014-05-14 09:44:58 -07:00
parent 01eda46b69
commit a8124b41d0

View file

@ -147,6 +147,7 @@ inline deserializer & operator>>(deserializer & d, name & n) { n = read_name(d);
UDATA_DEFS(name) UDATA_DEFS(name)
name to_name_ext(lua_State * L, int idx); name to_name_ext(lua_State * L, int idx);
bool is_list_name(lua_State * L, int idx);
list<name> & to_list_name(lua_State * L, int idx); list<name> & to_list_name(lua_State * L, int idx);
list<name> to_list_name_ext(lua_State * L, int idx); list<name> to_list_name_ext(lua_State * L, int idx);
int push_list_name(lua_State * L, list<name> const & l); int push_list_name(lua_State * L, list<name> const & l);