2013-11-03 20:02: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-03 20:02:57 +00:00
|
|
|
#include <lua.hpp>
|
|
|
|
namespace lean {
|
2013-11-15 01:19:51 +00:00
|
|
|
UDATA_DEFS(mpz)
|
2013-11-14 23:15:04 +00:00
|
|
|
mpz to_mpz_ext(lua_State * L, int idx);
|
2013-11-15 01:19:51 +00:00
|
|
|
void open_mpz(lua_State * L);
|
2013-11-05 03:45:15 +00:00
|
|
|
|
2013-11-15 01:19:51 +00:00
|
|
|
UDATA_DEFS(mpq)
|
2013-11-14 23:15:04 +00:00
|
|
|
mpq to_mpq_ext(lua_State * L, int idx);
|
2013-11-15 01:19:51 +00:00
|
|
|
void open_mpq(lua_State * L);
|
2013-11-03 20:02:57 +00:00
|
|
|
}
|