2013-11-03 03:49:42 +00:00
|
|
|
/*
|
|
|
|
Copyright (c) 2013 Microsoft Corporation. All rights reserved.
|
|
|
|
Released under Apache 2.0 license as described in the file LICENSE.
|
|
|
|
|
|
|
|
Author: Leonardo de Moura
|
|
|
|
*/
|
2013-11-08 19:59:47 +00:00
|
|
|
#pragma once
|
2013-11-03 03:49:42 +00:00
|
|
|
#include <lua.hpp>
|
|
|
|
namespace lean {
|
2013-11-05 03:45:15 +00:00
|
|
|
class name;
|
2013-11-04 21:54:51 +00:00
|
|
|
void open_name(lua_State * L);
|
2013-11-05 03:45:15 +00:00
|
|
|
bool is_name(lua_State * L, int idx);
|
|
|
|
name & to_name(lua_State * L, int idx);
|
2013-11-08 04:48:49 +00:00
|
|
|
name to_name_ext(lua_State * L, int idx);
|
2013-11-05 05:28:17 +00:00
|
|
|
int push_name(lua_State * L, name const & n);
|
2013-11-03 03:49:42 +00:00
|
|
|
}
|