lean4-htt/src/bindings/lua/object.h
Leonardo de Moura 2af2a69fc6 feat(lua): expose kernel objects in the Lua API
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-11-12 09:40:29 -08:00

15 lines
396 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>
namespace lean {
class object;
void open_object(lua_State * L);
bool is_object(lua_State * L, int idx);
object & to_object(lua_State * L, int idx);
int push_object(lua_State * L, object const & o);
}