lean2/src/bindings/lua/local_context.h
Leonardo de Moura 6b71fb346c fix(lua): add missing files for local_context
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-11-09 12:47:52 -08:00

20 lines
610 B
C++

/*
Copyright (c) 2013 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
*/
#pragma once
#include <lua.hpp>
#include "kernel/expr.h"
namespace lean {
bool is_local_entry(lua_State * L, int idx);
local_entry & to_local_entry(lua_State * L, int idx);
int push_local_entry(lua_State * L, local_entry const & o);
bool is_local_context(lua_State * L, int idx);
local_context & to_local_context(lua_State * L, int idx);
int push_local_context(lua_State * L, local_context const & o);
void open_local_context(lua_State * L);
}