lean4-htt/src/library/vm/vm_nat.h
2016-06-07 17:01:17 -07:00

16 lines
428 B
C++

/*
Copyright (c) 2016 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
*/
#pragma once
#include "library/vm/vm.h"
namespace lean {
unsigned to_unsigned(vm_obj const & o);
optional<unsigned> try_to_unsigned(vm_obj const & o);
unsigned force_to_unsigned(vm_obj const & o, unsigned def);
void initialize_vm_nat();
void finalize_vm_nat();
}