fix(frontends/lua): remove unnecessary function reference

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2013-11-27 12:58:35 -08:00
parent 262670abd6
commit e737f501e4

View file

@ -135,7 +135,6 @@ lua_State * leanlua_state::get_state() {
return m_ptr->m_state;
}
constexpr char const * state_mt = "luastate.mt";
bool is_state(lua_State * L, int idx) {
@ -164,8 +163,6 @@ static int state_gc(lua_State * L) {
return 0;
}
environment & to_environment(lua_State * L, int idx);
static int writer(lua_State *, void const * p, size_t sz, void * buf) {
buffer<char> & _buf = *static_cast<buffer<char>*>(buf);
char const * in = static_cast<char const *>(p);