3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-04 06:15:46 +00:00

Z3 sources

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2012-10-02 11:35:25 -07:00
parent 3f9edad676
commit e9eab22e5c
1186 changed files with 381859 additions and 0 deletions

33
lib/api_stats.h Normal file
View file

@ -0,0 +1,33 @@
/*++
Copyright (c) 2012 Microsoft Corporation
Module Name:
api_stats.h
Abstract:
API for Z3 statistics
Author:
Leonardo de Moura (leonardo) 2012-03-07.
Revision History:
--*/
#ifndef _API_STATS_H_
#define _API_STATS_H_
#include"api_util.h"
#include"statistics.h"
struct Z3_stats_ref : public api::object {
statistics m_stats;
virtual ~Z3_stats_ref() {}
};
inline Z3_stats_ref * to_stats(Z3_stats s) { return reinterpret_cast<Z3_stats_ref *>(s); }
inline Z3_stats of_stats(Z3_stats_ref * s) { return reinterpret_cast<Z3_stats>(s); }
inline statistics & to_stats_ref(Z3_stats s) { return to_stats(s)->m_stats; }
#endif