btor 0.1.0

Rust wrapper for btor
Documentation
/**
 *  Btor2Tools: A tool package for the BTOR format.
 *
 *  Copyright (c) 2013-2016 Mathias Preiner.
 *  Copyright (c) 2015-2018 Aina Niemetz.
 *  Copyright (c) 2018 Armin Biere.
 *  Copyright (c) 2020 Nina Engelhardt.
 *
 *  All rights reserved.
 *
 *  This file is part of the Btor2Tools package.
 *  See LICENSE.txt for more information on using this software.
 */

#ifndef BTOR2HELP_H_INCLUDED
#define BTOR2HELP_H_INCLUDED

#include <cassert>
#include <cstdarg>
#include <string>
#include <vector>

#include "btor2parser/btor2parser.h"
#include "btorsimbv.h"

extern int32_t verbosity;

void die (const char *m, ...);
void msg (int32_t level, const char *m, ...);

// get the sort for a line (have to go through argument for some operators)
Btor2Sort *get_sort (Btor2Line *l, Btor2Parser *model);

// same as btorsim_bv_to_char and btorsim_bv_to_hex_char but return value is
// std::string
std::string btorsim_bv_to_string (const BtorSimBitVector *bv);
std::string btorsim_bv_to_hex_string (const BtorSimBitVector *bv);

#endif