2013-11-08 05:53:57 +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-08 05:53:57 +00:00
|
|
|
#include <lua.hpp>
|
|
|
|
namespace lean {
|
|
|
|
class expr;
|
|
|
|
void open_expr(lua_State * L);
|
|
|
|
bool is_expr(lua_State * L, int idx);
|
|
|
|
expr & to_expr(lua_State * L, int idx);
|
|
|
|
int push_expr(lua_State * L, expr const & o);
|
|
|
|
}
|