mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
update header guards to be C++ style. Fixes issue #9
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
f145ceecb4
commit
4bc044c982
676 changed files with 1679 additions and 1619 deletions
|
@ -17,8 +17,8 @@ Author:
|
|||
Notes:
|
||||
|
||||
--*/
|
||||
#ifndef _APPROX_NAT_H_
|
||||
#define _APPROX_NAT_H_
|
||||
#ifndef APPROX_NAT_H_
|
||||
#define APPROX_NAT_H_
|
||||
|
||||
#include<iostream>
|
||||
#include<limits.h>
|
||||
|
@ -42,4 +42,4 @@ public:
|
|||
|
||||
std::ostream & operator<<(std::ostream & target, approx_nat const & w);
|
||||
|
||||
#endif /* _APPROX_NAT_H_ */
|
||||
#endif /* APPROX_NAT_H_ */
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _APPROX_SET_H_
|
||||
#define _APPROX_SET_H_
|
||||
#ifndef APPROX_SET_H_
|
||||
#define APPROX_SET_H_
|
||||
#include<iostream>
|
||||
#include"debug.h"
|
||||
|
||||
|
@ -232,5 +232,5 @@ inline std::ostream & operator<<(std::ostream & out, approx_set const & s) {
|
|||
return out;
|
||||
}
|
||||
|
||||
#endif /* _APPROX_SET_H_ */
|
||||
#endif /* APPROX_SET_H_ */
|
||||
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef __ARRAY_H_
|
||||
#define __ARRAY_H_
|
||||
#ifndef ARRAY_H_
|
||||
#define ARRAY_H_
|
||||
|
||||
template<typename T, bool CallDestructors=true>
|
||||
class array {
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _ARRAY_MAP_H_
|
||||
#define _ARRAY_MAP_H_
|
||||
#ifndef ARRAY_MAP_H_
|
||||
#define ARRAY_MAP_H_
|
||||
|
||||
#include"vector.h"
|
||||
#include"optional.h"
|
||||
|
@ -159,4 +159,4 @@ public:
|
|||
|
||||
};
|
||||
|
||||
#endif /* _ARRAY_MAP_H_ */
|
||||
#endif /* ARRAY_MAP_H_ */
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _BACKTRACKABLE_SET_H_
|
||||
#define _BACKTRACKABLE_SET_H_
|
||||
#ifndef BACKTRACKABLE_SET_H_
|
||||
#define BACKTRACKABLE_SET_H_
|
||||
|
||||
#include"vector.h"
|
||||
|
||||
|
|
|
@ -21,8 +21,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _BASIC_INTERVAL_H_
|
||||
#define _BASIC_INTERVAL_H_
|
||||
#ifndef BASIC_INTERVAL_H_
|
||||
#define BASIC_INTERVAL_H_
|
||||
|
||||
template<typename numeral_manager, bool closed>
|
||||
class basic_interval_manager {
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _BIT_UTIL_H_
|
||||
#define _BIT_UTIL_H_
|
||||
#ifndef BIT_UTIL_H_
|
||||
#define BIT_UTIL_H_
|
||||
|
||||
/**
|
||||
\brief Return the position of the most significant (set) bit of a
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _BIT_VECTOR_H_
|
||||
#define _BIT_VECTOR_H_
|
||||
#ifndef BIT_VECTOR_H_
|
||||
#define BIT_VECTOR_H_
|
||||
|
||||
#include<string.h>
|
||||
#include"debug.h"
|
||||
|
@ -251,5 +251,5 @@ public:
|
|||
}
|
||||
};
|
||||
|
||||
#endif /* _BIT_VECTOR_H_ */
|
||||
#endif /* BIT_VECTOR_H_ */
|
||||
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _BUFFER_H_
|
||||
#define _BUFFER_H_
|
||||
#ifndef BUFFER_H_
|
||||
#define BUFFER_H_
|
||||
|
||||
#include<string.h>
|
||||
#include"memory_manager.h"
|
||||
|
@ -257,5 +257,5 @@ public:
|
|||
sbuffer(unsigned sz, const T& elem) : buffer<T, false, INITIAL_SIZE>(sz,elem) {}
|
||||
};
|
||||
|
||||
#endif /* _BUFFER_H_ */
|
||||
#endif /* BUFFER_H_ */
|
||||
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _CANCEL_EH_H_
|
||||
#define _CANCEL_EH_H_
|
||||
#ifndef CANCEL_EH_H_
|
||||
#define CANCEL_EH_H_
|
||||
|
||||
#include"event_handler.h"
|
||||
|
||||
|
|
|
@ -25,8 +25,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _CHASHTABLE_H_
|
||||
#define _CHASHTABLE_H_
|
||||
#ifndef CHASHTABLE_H_
|
||||
#define CHASHTABLE_H_
|
||||
|
||||
#include"memory_manager.h"
|
||||
#include"debug.h"
|
||||
|
|
|
@ -21,8 +21,8 @@ Revision History:
|
|||
|
||||
--*/
|
||||
|
||||
#ifndef __CHECKED_INT64_H_
|
||||
#define __CHECKED_INT64_H_
|
||||
#ifndef CHECKED_INT64_H_
|
||||
#define CHECKED_INT64_H_
|
||||
|
||||
#include"z3_exception.h"
|
||||
#include"rational.h"
|
||||
|
|
|
@ -14,8 +14,8 @@ Author:
|
|||
Notes:
|
||||
|
||||
--*/
|
||||
#ifndef _CMD_CONTEXT_TYPES_H_
|
||||
#define _CMD_CONTEXT_TYPES_H_
|
||||
#ifndef CMD_CONTEXT_TYPES_H_
|
||||
#define CMD_CONTEXT_TYPES_H_
|
||||
|
||||
#include"symbol.h"
|
||||
#include"z3_exception.h"
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Notes:
|
||||
|
||||
--*/
|
||||
#ifndef __COMMON_MSGS_H_
|
||||
#define __COMMON_MSGS_H_
|
||||
#ifndef COMMON_MSGS_H_
|
||||
#define COMMON_MSGS_H_
|
||||
|
||||
class common_msgs {
|
||||
public:
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Notes:
|
||||
|
||||
--*/
|
||||
#ifndef _COOPERATE_H_
|
||||
#define _COOPERATE_H_
|
||||
#ifndef COOPERATE_H_
|
||||
#define COOPERATE_H_
|
||||
|
||||
class cooperation_section;
|
||||
|
||||
|
|
|
@ -18,8 +18,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _CRITICAL_FLET_H_
|
||||
#define _CRITICAL_FLET_H_
|
||||
#ifndef CRITICAL_FLET_H_
|
||||
#define CRITICAL_FLET_H_
|
||||
|
||||
template<typename T>
|
||||
class critical_flet {
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _DEBUG_H_
|
||||
#define _DEBUG_H_
|
||||
#ifndef DEBUG_H_
|
||||
#define DEBUG_H_
|
||||
|
||||
void enable_assertions(bool f);
|
||||
bool assertions_enabled();
|
||||
|
@ -96,5 +96,5 @@ void finalize_debug();
|
|||
ADD_FINALIZER('finalize_debug();')
|
||||
*/
|
||||
|
||||
#endif /* _DEBUG_H_ */
|
||||
#endif /* DEBUG_H_ */
|
||||
|
||||
|
|
|
@ -17,8 +17,8 @@ Author:
|
|||
Notes:
|
||||
|
||||
--*/
|
||||
#ifndef _MAP_UTIL_H_
|
||||
#define _MAP_UTIL_H_
|
||||
#ifndef MAP_UTIL_H_
|
||||
#define MAP_UTIL_H_
|
||||
|
||||
/**
|
||||
\brief Decrement the reference counter of the keys and values stored in the map,
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _DEPENDENCY_H_
|
||||
#define _DEPENDENCY_H_
|
||||
#ifndef DEPENDENCY_H_
|
||||
#define DEPENDENCY_H_
|
||||
|
||||
#include"vector.h"
|
||||
#include"region.h"
|
||||
|
@ -322,5 +322,5 @@ public:
|
|||
typedef scoped_dependency_manager<void*> v_dependency_manager;
|
||||
typedef scoped_dependency_manager<void*>::dependency v_dependency;
|
||||
|
||||
#endif /* _DEPENDENCY_H_ */
|
||||
#endif /* DEPENDENCY_H_ */
|
||||
|
||||
|
|
|
@ -14,8 +14,8 @@ Author:
|
|||
Notes:
|
||||
|
||||
--*/
|
||||
#ifndef _DICTIONARY_H_
|
||||
#define _DICTIONARY_H_
|
||||
#ifndef DICTIONARY_H_
|
||||
#define DICTIONARY_H_
|
||||
|
||||
#include"map.h"
|
||||
#include"symbol.h"
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef __DLIST_H_
|
||||
#define __DLIST_H_
|
||||
#ifndef DLIST_H_
|
||||
#define DLIST_H_
|
||||
|
||||
/**
|
||||
Add element \c elem to the list headed by \c head.
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _DOUBLE_MANAGER_H_
|
||||
#define _DOUBLE_MANAGER_H_
|
||||
#ifndef DOUBLE_MANAGER_H_
|
||||
#define DOUBLE_MANAGER_H_
|
||||
|
||||
#include<cmath>
|
||||
#include<string>
|
||||
|
@ -99,5 +99,5 @@ public:
|
|||
|
||||
COMPILE_TIME_ASSERT(sizeof(uint64) == sizeof(double));
|
||||
|
||||
#endif /* _DOUBLE_MANAGER_H_ */
|
||||
#endif /* DOUBLE_MANAGER_H_ */
|
||||
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Notes:
|
||||
|
||||
--*/
|
||||
#ifndef _ENV_PARAMS_H_
|
||||
#define _ENV_PARAMS_H_
|
||||
#ifndef ENV_PARAMS_H_
|
||||
#define ENV_PARAMS_H_
|
||||
|
||||
class param_descrs;
|
||||
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _ERROR_CODES_H_
|
||||
#define _ERROR_CODES_H_
|
||||
#ifndef ERROR_CODES_H_
|
||||
#define ERROR_CODES_H_
|
||||
|
||||
#define ERR_OK 0
|
||||
#define ERR_MEMOUT 101
|
||||
|
@ -34,5 +34,5 @@ Revision History:
|
|||
#define ERR_UNKNOWN_RESULT 112
|
||||
#define ERR_ALLOC_EXCEEDED 113
|
||||
|
||||
#endif /* _ERROR_CODES_H_ */
|
||||
#endif /* ERROR_CODES_H_ */
|
||||
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _EVENT_HANDLER_H_
|
||||
#define _EVENT_HANDLER_H_
|
||||
#ifndef EVENT_HANDLER_H_
|
||||
#define EVENT_HANDLER_H_
|
||||
|
||||
class event_handler {
|
||||
public:
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _EXT_GCD_H_
|
||||
#define _EXT_GCD_H_
|
||||
#ifndef EXT_GCD_H_
|
||||
#define EXT_GCD_H_
|
||||
|
||||
template<typename numeral>
|
||||
void extended_gcd(const numeral & in_a, const numeral & in_b, numeral & gcd, numeral & x, numeral & y) {
|
||||
|
@ -48,5 +48,5 @@ void extended_gcd(const numeral & in_a, const numeral & in_b, numeral & gcd, num
|
|||
y = lasty;
|
||||
}
|
||||
|
||||
#endif /* _EXT_GCD_H_ */
|
||||
#endif /* EXT_GCD_H_ */
|
||||
|
||||
|
|
|
@ -17,8 +17,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _EXT_NUMERAL_H_
|
||||
#define _EXT_NUMERAL_H_
|
||||
#ifndef EXT_NUMERAL_H_
|
||||
#define EXT_NUMERAL_H_
|
||||
|
||||
#include<iostream>
|
||||
#include"debug.h"
|
||||
|
|
|
@ -17,8 +17,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef __F2N_H_
|
||||
#define __F2N_H_
|
||||
#ifndef F2N_H_
|
||||
#define F2N_H_
|
||||
|
||||
#include"mpf.h"
|
||||
|
||||
|
|
|
@ -18,8 +18,8 @@ Revision History:
|
|||
Related to bit_vector, but is based on a manager.
|
||||
|
||||
--*/
|
||||
#ifndef _FIXED_BIT_VECTOR_H_
|
||||
#define _FIXED_BIT_VECTOR_H_
|
||||
#ifndef FIXED_BIT_VECTOR_H_
|
||||
#define FIXED_BIT_VECTOR_H_
|
||||
|
||||
#include<string.h>
|
||||
#include"debug.h"
|
||||
|
@ -142,5 +142,5 @@ public:
|
|||
|
||||
|
||||
|
||||
#endif /* _FIXED_BIT_VECTOR_H_ */
|
||||
#endif /* FIXED_BIT_VECTOR_H_ */
|
||||
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Notes:
|
||||
|
||||
--*/
|
||||
#ifndef _GPARAMS_H_
|
||||
#define _GPARAMS_H_
|
||||
#ifndef GPARAMS_H_
|
||||
#define GPARAMS_H_
|
||||
|
||||
#include"params.h"
|
||||
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _HASH_H_
|
||||
#define _HASH_H_
|
||||
#ifndef HASH_H_
|
||||
#define HASH_H_
|
||||
|
||||
#include<algorithm>
|
||||
#include"util.h"
|
||||
|
@ -249,5 +249,5 @@ inline unsigned mk_mix(unsigned a, unsigned b, unsigned c) {
|
|||
return c;
|
||||
}
|
||||
|
||||
#endif /* _HASH_H_ */
|
||||
#endif /* HASH_H_ */
|
||||
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _HASHTABLE_H_
|
||||
#define _HASHTABLE_H_
|
||||
#ifndef HASHTABLE_H_
|
||||
#define HASHTABLE_H_
|
||||
#include"debug.h"
|
||||
#include<ostream>
|
||||
#include"util.h"
|
||||
|
@ -640,4 +640,4 @@ public:
|
|||
core_hashtable<int_hash_entry<INT_MIN, INT_MIN + 1>, HashProc, EqProc>(initial_capacity, h, e) {}
|
||||
};
|
||||
|
||||
#endif /* _HASHTABLE_H_ */
|
||||
#endif /* HASHTABLE_H_ */
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _HEAP_H_
|
||||
#define _HEAP_H_
|
||||
#ifndef HEAP_H_
|
||||
#define HEAP_H_
|
||||
|
||||
#include"vector.h"
|
||||
#include"debug.h"
|
||||
|
@ -275,5 +275,5 @@ public:
|
|||
|
||||
};
|
||||
|
||||
#endif /* _HEAP_H_ */
|
||||
#endif /* HEAP_H_ */
|
||||
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _HWF_H_
|
||||
#define _HWF_H_
|
||||
#ifndef HWF_H_
|
||||
#define HWF_H_
|
||||
|
||||
#include<string>
|
||||
#include"mpz.h"
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _ID_GEN_H_
|
||||
#define _ID_GEN_H_
|
||||
#ifndef ID_GEN_H_
|
||||
#define ID_GEN_H_
|
||||
|
||||
#include"vector.h"
|
||||
#include"util.h"
|
||||
|
@ -85,4 +85,4 @@ public:
|
|||
|
||||
};
|
||||
|
||||
#endif /* _ID_GEN_H_ */
|
||||
#endif /* ID_GEN_H_ */
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _INF_EPS_RATIONAL_H_
|
||||
#define _INF_EPS_RATIONAL_H_
|
||||
#ifndef INF_EPS_RATIONAL_H_
|
||||
#define INF_EPS_RATIONAL_H_
|
||||
#include<stdlib.h>
|
||||
#include<string>
|
||||
#include"debug.h"
|
||||
|
@ -441,4 +441,4 @@ inline inf_eps_rational<N> abs(const inf_eps_rational<N> & r) {
|
|||
return result;
|
||||
}
|
||||
|
||||
#endif /* _INF_EPS_RATIONAL_H_ */
|
||||
#endif /* INF_EPS_RATIONAL_H_ */
|
||||
|
|
|
@ -17,8 +17,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _INF_INT_RATIONAL_H_
|
||||
#define _INF_INT_RATIONAL_H_
|
||||
#ifndef INF_INT_RATIONAL_H_
|
||||
#define INF_INT_RATIONAL_H_
|
||||
#include<stdlib.h>
|
||||
#include<string>
|
||||
#include"debug.h"
|
||||
|
@ -386,4 +386,4 @@ inline inf_int_rational abs(const inf_int_rational & r) {
|
|||
return result;
|
||||
}
|
||||
|
||||
#endif /* _INF_INT_RATIONAL_H_ */
|
||||
#endif /* INF_INT_RATIONAL_H_ */
|
||||
|
|
|
@ -17,8 +17,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _INF_RATIONAL_H_
|
||||
#define _INF_RATIONAL_H_
|
||||
#ifndef INF_RATIONAL_H_
|
||||
#define INF_RATIONAL_H_
|
||||
#include<stdlib.h>
|
||||
#include<string>
|
||||
#include"debug.h"
|
||||
|
@ -471,4 +471,4 @@ inline inf_rational abs(const inf_rational & r) {
|
|||
return result;
|
||||
}
|
||||
|
||||
#endif /* _INF_RATIONAL_H_ */
|
||||
#endif /* INF_RATIONAL_H_ */
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _INF_S_INTEGER_H_
|
||||
#define _INF_S_INTEGER_H_
|
||||
#ifndef INF_S_INTEGER_H_
|
||||
#define INF_S_INTEGER_H_
|
||||
|
||||
#include"s_integer.h"
|
||||
#include"rational.h"
|
||||
|
@ -347,5 +347,5 @@ inline inf_s_integer abs(const inf_s_integer & r) {
|
|||
}
|
||||
|
||||
|
||||
#endif /* _INF_S_INTEGER_H_ */
|
||||
#endif /* INF_S_INTEGER_H_ */
|
||||
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _LBOOL_H_
|
||||
#define _LBOOL_H_
|
||||
#ifndef LBOOL_H_
|
||||
#define LBOOL_H_
|
||||
|
||||
#include"util.h"
|
||||
|
||||
|
@ -38,5 +38,5 @@ std::ostream & operator<<(std::ostream & out, lbool b);
|
|||
*/
|
||||
char const * to_sat_str(lbool l);
|
||||
|
||||
#endif /* _LBOOL_H_ */
|
||||
#endif /* LBOOL_H_ */
|
||||
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _LIST_H_
|
||||
#define _LIST_H_
|
||||
#ifndef LIST_H_
|
||||
#define LIST_H_
|
||||
|
||||
#include"buffer.h"
|
||||
#include"region.h"
|
||||
|
@ -92,5 +92,5 @@ list<T> * append(region & r, list<T> * l1, list<T> * l2) {
|
|||
return result;
|
||||
}
|
||||
|
||||
#endif /* _LIST_H_ */
|
||||
#endif /* LIST_H_ */
|
||||
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _LUBY_H_
|
||||
#define _LUBY_H_
|
||||
#ifndef LUBY_H_
|
||||
#define LUBY_H_
|
||||
|
||||
/**
|
||||
\brief Return the i-th element of the Luby sequence: 1,1,2,1,1,2,4,1,1,2,1,1,2,4,8,...
|
||||
|
@ -27,5 +27,5 @@ Revision History:
|
|||
*/
|
||||
unsigned get_luby(unsigned i);
|
||||
|
||||
#endif /* _LUBY_H_ */
|
||||
#endif /* LUBY_H_ */
|
||||
|
||||
|
|
|
@ -17,8 +17,8 @@ Revision History:
|
|||
|
||||
--*/
|
||||
|
||||
#ifndef _MACHINE_H_
|
||||
#define _MACHINE_H_
|
||||
#ifndef MACHINE_H_
|
||||
#define MACHINE_H_
|
||||
|
||||
#ifdef _AMD64_
|
||||
#define PTR_ALIGNMENT 3
|
||||
|
@ -26,5 +26,5 @@ Revision History:
|
|||
#define PTR_ALIGNMENT 2
|
||||
#endif
|
||||
|
||||
#endif /* _MACHINE_H_ */
|
||||
#endif /* MACHINE_H_ */
|
||||
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _MAP_H_
|
||||
#define _MAP_H_
|
||||
#ifndef MAP_H_
|
||||
#define MAP_H_
|
||||
|
||||
#include"hashtable.h"
|
||||
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _MEMORY_H_
|
||||
#define _MEMORY_H_
|
||||
#ifndef MEMORY_H_
|
||||
#define MEMORY_H_
|
||||
|
||||
#include<cstdlib>
|
||||
#include<ostream>
|
||||
|
@ -132,5 +132,5 @@ void dealloc_svect(T * ptr) {
|
|||
}
|
||||
|
||||
|
||||
#endif /* _MEMORY_H_ */
|
||||
#endif /* MEMORY_H_ */
|
||||
|
||||
|
|
|
@ -24,8 +24,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _MPBQ_H_
|
||||
#define _MPBQ_H_
|
||||
#ifndef MPBQ_H_
|
||||
#define MPBQ_H_
|
||||
|
||||
#include"mpq.h"
|
||||
#include"rational.h"
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _MPBQI_H_
|
||||
#define _MPBQI_H_
|
||||
#ifndef MPBQI_H_
|
||||
#define MPBQI_H_
|
||||
|
||||
#include"mpbq.h"
|
||||
#include"basic_interval.h"
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _MPF_H_
|
||||
#define _MPF_H_
|
||||
#ifndef MPF_H_
|
||||
#define MPF_H_
|
||||
|
||||
#include<string>
|
||||
#include"mpz.h"
|
||||
|
|
|
@ -20,8 +20,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _MPFF_H_
|
||||
#define _MPFF_H_
|
||||
#ifndef MPFF_H_
|
||||
#define MPFF_H_
|
||||
|
||||
#include"id_gen.h"
|
||||
#include"util.h"
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _MPFX_H_
|
||||
#define _MPFX_H_
|
||||
#ifndef MPFX_H_
|
||||
#define MPFX_H_
|
||||
|
||||
#include"id_gen.h"
|
||||
#include"util.h"
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _MPN_H_
|
||||
#define _MPN_H_
|
||||
#ifndef MPN_H_
|
||||
#define MPN_H_
|
||||
|
||||
#include<ostream>
|
||||
#include"util.h"
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _MPQ_H_
|
||||
#define _MPQ_H_
|
||||
#ifndef MPQ_H_
|
||||
#define MPQ_H_
|
||||
|
||||
#include"mpz.h"
|
||||
#include"trace.h"
|
||||
|
@ -845,5 +845,5 @@ typedef _scoped_numeral<unsynch_mpq_manager> scoped_mpq;
|
|||
typedef _scoped_numeral<synch_mpq_manager> scoped_synch_mpq;
|
||||
typedef _scoped_numeral_vector<unsynch_mpq_manager> scoped_mpq_vector;
|
||||
|
||||
#endif /* _MPQ_H_ */
|
||||
#endif /* MPQ_H_ */
|
||||
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _MPQ_INF_H_
|
||||
#define _MPQ_INF_H_
|
||||
#ifndef MPQ_INF_H_
|
||||
#define MPQ_INF_H_
|
||||
|
||||
#include"mpq.h"
|
||||
#include"hash.h"
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _MPZ_H_
|
||||
#define _MPZ_H_
|
||||
#ifndef MPZ_H_
|
||||
#define MPZ_H_
|
||||
|
||||
#include<limits.h>
|
||||
#include<string>
|
||||
|
@ -831,5 +831,5 @@ typedef _scoped_numeral<unsynch_mpz_manager> scoped_mpz;
|
|||
typedef _scoped_numeral<synch_mpz_manager> scoped_synch_mpz;
|
||||
typedef _scoped_numeral_vector<unsynch_mpz_manager> scoped_mpz_vector;
|
||||
|
||||
#endif /* _MPZ_H_ */
|
||||
#endif /* MPZ_H_ */
|
||||
|
||||
|
|
|
@ -23,8 +23,8 @@ Revision History:
|
|||
In the future, it will replace it.
|
||||
|
||||
--*/
|
||||
#ifndef _MPZZP_H_
|
||||
#define _MPZZP_H_
|
||||
#ifndef MPZZP_H_
|
||||
#define MPZZP_H_
|
||||
|
||||
#include "mpz.h"
|
||||
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _NAT_SET_H_
|
||||
#define _NAT_SET_H_
|
||||
#ifndef NAT_SET_H_
|
||||
#define NAT_SET_H_
|
||||
|
||||
#include<limits.h>
|
||||
#include"vector.h"
|
||||
|
@ -84,5 +84,5 @@ public:
|
|||
}
|
||||
};
|
||||
|
||||
#endif /* _NAT_SET_H_ */
|
||||
#endif /* NAT_SET_H_ */
|
||||
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _NUMERAL_BUFFER_H_
|
||||
#define _NUMERAL_BUFFER_H_
|
||||
#ifndef NUMERAL_BUFFER_H_
|
||||
#define NUMERAL_BUFFER_H_
|
||||
|
||||
#include"vector.h"
|
||||
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _OBJ_HASHTABLE_H_
|
||||
#define _OBJ_HASHTABLE_H_
|
||||
#ifndef OBJ_HASHTABLE_H_
|
||||
#define OBJ_HASHTABLE_H_
|
||||
|
||||
#include"hash.h"
|
||||
#include"hashtable.h"
|
||||
|
@ -223,5 +223,5 @@ void erase_dealloc_value(obj_map<Key, Value*> & m, Key * k) {
|
|||
}
|
||||
}
|
||||
|
||||
#endif /* _OBJ_HASHTABLE_H_ */
|
||||
#endif /* OBJ_HASHTABLE_H_ */
|
||||
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _OBJ_MARK_H_
|
||||
#define _OBJ_MARK_H_
|
||||
#ifndef OBJ_MARK_H_
|
||||
#define OBJ_MARK_H_
|
||||
|
||||
#include"bit_vector.h"
|
||||
|
||||
|
@ -50,4 +50,4 @@ public:
|
|||
void reset() { m_marks.reset(); }
|
||||
};
|
||||
|
||||
#endif /* _OBJ_MARK_H_ */
|
||||
#endif /* OBJ_MARK_H_ */
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _OBJ_PAIR_HASHTABLE_H_
|
||||
#define _OBJ_PAIR_HASHTABLE_H_
|
||||
#ifndef OBJ_PAIR_HASHTABLE_H_
|
||||
#define OBJ_PAIR_HASHTABLE_H_
|
||||
|
||||
#include"hash.h"
|
||||
#include"hashtable.h"
|
||||
|
@ -170,5 +170,5 @@ public:
|
|||
}
|
||||
};
|
||||
|
||||
#endif /* _OBJ_PAIR_HASHTABLE_H_ */
|
||||
#endif /* OBJ_PAIR_HASHTABLE_H_ */
|
||||
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _OBJ_PAIR_SET_H_
|
||||
#define _OBJ_PAIR_SET_H_
|
||||
#ifndef OBJ_PAIR_SET_H_
|
||||
#define OBJ_PAIR_SET_H_
|
||||
|
||||
#include"chashtable.h"
|
||||
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _OBJ_REF_H_
|
||||
#define _OBJ_REF_H_
|
||||
#ifndef OBJ_REF_H_
|
||||
#define OBJ_REF_H_
|
||||
|
||||
/**
|
||||
Smart pointer for T objects.
|
||||
|
@ -136,4 +136,4 @@ inline void dec_range_ref(IT const & begin, IT const & end, TManager & m) {
|
|||
}
|
||||
}
|
||||
|
||||
#endif /* _OBJ_REF_H_ */
|
||||
#endif /* OBJ_REF_H_ */
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _OBJ_TRIPLE_HASHTABLE_H_
|
||||
#define _OBJ_TRIPLE_HASHTABLE_H_
|
||||
#ifndef OBJ_TRIPLE_HASHTABLE_H_
|
||||
#define OBJ_TRIPLE_HASHTABLE_H_
|
||||
|
||||
#include"hashtable.h"
|
||||
|
||||
|
@ -176,5 +176,5 @@ public:
|
|||
}
|
||||
};
|
||||
|
||||
#endif /* _OBJ_TRIPLE_HASHTABLE_H_ */
|
||||
#endif /* OBJ_TRIPLE_HASHTABLE_H_ */
|
||||
|
||||
|
|
|
@ -17,8 +17,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _OBJECT_ALLOCATOR_H_
|
||||
#define _OBJECT_ALLOCATOR_H_
|
||||
#ifndef OBJECT_ALLOCATOR_H_
|
||||
#define OBJECT_ALLOCATOR_H_
|
||||
|
||||
#include"util.h"
|
||||
#include"vector.h"
|
||||
|
@ -285,5 +285,5 @@ public:
|
|||
|
||||
};
|
||||
|
||||
#endif /* _OBJECT_ALLOCATOR_H_ */
|
||||
#endif /* OBJECT_ALLOCATOR_H_ */
|
||||
|
||||
|
|
|
@ -18,8 +18,8 @@ Revision History:
|
|||
|
||||
--*/
|
||||
|
||||
#ifndef _OPTIONAL_H_
|
||||
#define _OPTIONAL_H_
|
||||
#ifndef OPTIONAL_H_
|
||||
#define OPTIONAL_H_
|
||||
|
||||
template<typename T>
|
||||
class optional {
|
||||
|
@ -161,5 +161,5 @@ public:
|
|||
};
|
||||
|
||||
|
||||
#endif /* _OPTIONAL_H_ */
|
||||
#endif /* OPTIONAL_H_ */
|
||||
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _PAGE_H_
|
||||
#define _PAGE_H_
|
||||
#ifndef PAGE_H_
|
||||
#define PAGE_H_
|
||||
|
||||
#include"memory_manager.h"
|
||||
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Notes:
|
||||
|
||||
--*/
|
||||
#ifndef _PARAMS_H_
|
||||
#define _PARAMS_H_
|
||||
#ifndef PARAMS_H_
|
||||
#define PARAMS_H_
|
||||
|
||||
#include"cmd_context_types.h"
|
||||
#include"vector.h"
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _PARRAY_H_
|
||||
#define _PARRAY_H_
|
||||
#ifndef PARRAY_H_
|
||||
#define PARRAY_H_
|
||||
|
||||
#include"vector.h"
|
||||
#include"trace.h"
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _PERMUTATION_H_
|
||||
#define _PERMUTATION_H_
|
||||
#ifndef PERMUTATION_H_
|
||||
#define PERMUTATION_H_
|
||||
|
||||
#include<iostream>
|
||||
#include"vector.h"
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _PLUGIN_MANAGER_H_
|
||||
#define _PLUGIN_MANAGER_H_
|
||||
#ifndef PLUGIN_MANAGER_H_
|
||||
#define PLUGIN_MANAGER_H_
|
||||
|
||||
#include"util.h"
|
||||
|
||||
|
@ -62,5 +62,5 @@ public:
|
|||
}
|
||||
};
|
||||
|
||||
#endif /* _PLUGIN_MANAGER_H_ */
|
||||
#endif /* PLUGIN_MANAGER_H_ */
|
||||
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _POOL_H_
|
||||
#define _POOL_H_
|
||||
#ifndef POOL_H_
|
||||
#define POOL_H_
|
||||
|
||||
#include"util.h"
|
||||
#include"vector.h"
|
||||
|
@ -46,5 +46,5 @@ public:
|
|||
}
|
||||
};
|
||||
|
||||
#endif /* _POOL_H_ */
|
||||
#endif /* POOL_H_ */
|
||||
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _POP_SCOPES_H_
|
||||
#define _POP_SCOPES_H_
|
||||
#ifndef POP_SCOPES_H_
|
||||
#define POP_SCOPES_H_
|
||||
|
||||
#define POP_SCOPES(_num_scopes, _lim, _trail, _action) \
|
||||
if (_num_scopes > 0) \
|
||||
|
@ -33,5 +33,5 @@ Revision History:
|
|||
_lim.shrink(new_lvl); \
|
||||
}
|
||||
|
||||
#endif /* _POP_SCOPES_H_ */
|
||||
#endif /* POP_SCOPES_H_ */
|
||||
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Notes:
|
||||
|
||||
--*/
|
||||
#ifndef _PRIME_GENERATOR_H_
|
||||
#define _PRIME_GENERATOR_H_
|
||||
#ifndef PRIME_GENERATOR_H_
|
||||
#define PRIME_GENERATOR_H_
|
||||
|
||||
#include"vector.h"
|
||||
#include"z3_exception.h"
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _PTR_SCOPED_BUFFER_H_
|
||||
#define _PTR_SCOPED_BUFFER_H_
|
||||
#ifndef PTR_SCOPED_BUFFER_H_
|
||||
#define PTR_SCOPED_BUFFER_H_
|
||||
|
||||
#include"util.h"
|
||||
#include"debug.h"
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _RATIONAL_H_
|
||||
#define _RATIONAL_H_
|
||||
#ifndef RATIONAL_H_
|
||||
#define RATIONAL_H_
|
||||
|
||||
#include"mpq.h"
|
||||
|
||||
|
@ -457,5 +457,5 @@ inline rational gcd(rational const & r1, rational const & r2, rational & a, rati
|
|||
}
|
||||
|
||||
|
||||
#endif /* _RATIONAL_H_ */
|
||||
#endif /* RATIONAL_H_ */
|
||||
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _REF_H_
|
||||
#define _REF_H_
|
||||
#ifndef REF_H_
|
||||
#define REF_H_
|
||||
|
||||
template<typename T>
|
||||
class ref {
|
||||
|
@ -120,5 +120,5 @@ class unmanged_ref_manager {
|
|||
static void dec_ref(T * o) { o->dec_ref(); }
|
||||
};
|
||||
|
||||
#endif /* _REF_H_ */
|
||||
#endif /* REF_H_ */
|
||||
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _REF_BUFFER_H_
|
||||
#define _REF_BUFFER_H_
|
||||
#ifndef REF_BUFFER_H_
|
||||
#define REF_BUFFER_H_
|
||||
|
||||
#include"buffer.h"
|
||||
#include"obj_ref.h"
|
||||
|
@ -171,4 +171,4 @@ class sref_buffer : public ref_buffer_core<T, ref_unmanaged_wrapper<T>, INITIAL_
|
|||
public:
|
||||
};
|
||||
|
||||
#endif /* _REF_BUFFER_H_ */
|
||||
#endif /* REF_BUFFER_H_ */
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Notes:
|
||||
|
||||
--*/
|
||||
#ifndef _REF_UTIL_H_
|
||||
#define _REF_UTIL_H_
|
||||
#ifndef REF_UTIL_H_
|
||||
#define REF_UTIL_H_
|
||||
|
||||
/**
|
||||
\brief Decrement the reference counter of the keys and values stored in the map,
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _REF_VECTOR_H_
|
||||
#define _REF_VECTOR_H_
|
||||
#ifndef REF_VECTOR_H_
|
||||
#define REF_VECTOR_H_
|
||||
|
||||
#include"vector.h"
|
||||
#include"obj_ref.h"
|
||||
|
@ -351,4 +351,4 @@ struct ref_vector_ptr_eq {
|
|||
};
|
||||
|
||||
|
||||
#endif /* _REF_VECTOR_H_ */
|
||||
#endif /* REF_VECTOR_H_ */
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _REGION_H_
|
||||
#define _REGION_H_
|
||||
#ifndef REGION_H_
|
||||
#define REGION_H_
|
||||
#include<cstdlib>
|
||||
#include<iostream>
|
||||
|
||||
|
@ -118,5 +118,5 @@ inline void operator delete(void *, region & ) { /* do nothing */ }
|
|||
|
||||
inline void operator delete[](void *, region & ) { /* do nothing */ }
|
||||
|
||||
#endif /* _REGION_H_ */
|
||||
#endif /* REGION_H_ */
|
||||
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _RESOURCE_LIMIT_H_
|
||||
#define _RESOURCE_LIMIT_H_
|
||||
#ifndef RESOURCE_LIMIT_H_
|
||||
#define RESOURCE_LIMIT_H_
|
||||
|
||||
//
|
||||
// This object is used to limit the availability of "resources" during a search.
|
||||
|
@ -164,5 +164,5 @@ public:
|
|||
};
|
||||
|
||||
|
||||
#endif /* _RESOURCE_LIMIT_H_ */
|
||||
#endif /* RESOURCE_LIMIT_H_ */
|
||||
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _S_INTEGER_H_
|
||||
#define _S_INTEGER_H_
|
||||
#ifndef S_INTEGER_H_
|
||||
#define S_INTEGER_H_
|
||||
|
||||
#include"rational.h"
|
||||
|
||||
|
@ -145,5 +145,5 @@ inline s_integer abs(const s_integer & r) {
|
|||
return result;
|
||||
}
|
||||
|
||||
#endif /* _S_INTEGER_H_ */
|
||||
#endif /* S_INTEGER_H_ */
|
||||
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _SCOPED_CTRL_C_H_
|
||||
#define _SCOPED_CTRL_C_H_
|
||||
#ifndef SCOPED_CTRL_C_H_
|
||||
#define SCOPED_CTRL_C_H_
|
||||
|
||||
#include"event_handler.h"
|
||||
|
||||
|
|
|
@ -17,8 +17,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _SCOPED_NUMERAL_H_
|
||||
#define _SCOPED_NUMERAL_H_
|
||||
#ifndef SCOPED_NUMERAL_H_
|
||||
#define SCOPED_NUMERAL_H_
|
||||
|
||||
template<typename Manager>
|
||||
class _scoped_numeral {
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _SCOPED_NUMERAL_BUFFER_H_
|
||||
#define _SCOPED_NUMERAL_BUFFER_H_
|
||||
#ifndef SCOPED_NUMERAL_BUFFER_H_
|
||||
#define SCOPED_NUMERAL_BUFFER_H_
|
||||
|
||||
#include"buffer.h"
|
||||
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _SCOPED_NUMERAL_VECTOR_H_
|
||||
#define _SCOPED_NUMERAL_VECTOR_H_
|
||||
#ifndef SCOPED_NUMERAL_VECTOR_H_
|
||||
#define SCOPED_NUMERAL_VECTOR_H_
|
||||
|
||||
#include"vector.h"
|
||||
|
||||
|
|
|
@ -17,8 +17,8 @@ Author:
|
|||
Notes:
|
||||
|
||||
--*/
|
||||
#ifndef _SCOPED_PTR_VECTOR_H_
|
||||
#define _SCOPED_PTR_VECTOR_H_
|
||||
#ifndef SCOPED_PTR_VECTOR_H_
|
||||
#define SCOPED_PTR_VECTOR_H_
|
||||
|
||||
#include"vector.h"
|
||||
#include"util.h"
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _SCOPED_TIMER_H_
|
||||
#define _SCOPED_TIMER_H_
|
||||
#ifndef SCOPED_TIMER_H_
|
||||
#define SCOPED_TIMER_H_
|
||||
|
||||
#include"event_handler.h"
|
||||
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Notes:
|
||||
|
||||
--*/
|
||||
#ifndef _SEXPR_H_
|
||||
#define _SEXPR_H_
|
||||
#ifndef SEXPR_H_
|
||||
#define SEXPR_H_
|
||||
|
||||
#include"rational.h"
|
||||
#include"symbol.h"
|
||||
|
|
|
@ -17,8 +17,8 @@ Revision History:
|
|||
Leonardo de Moura (leonardo) 2011-04-27
|
||||
Rewrote/Simplified the allocator
|
||||
--*/
|
||||
#ifndef _SMALL_OBJECT_ALLOCATOR_H_
|
||||
#define _SMALL_OBJECT_ALLOCATOR_H_
|
||||
#ifndef SMALL_OBJECT_ALLOCATOR_H_
|
||||
#define SMALL_OBJECT_ALLOCATOR_H_
|
||||
|
||||
#include"machine.h"
|
||||
#include"debug.h"
|
||||
|
@ -56,5 +56,5 @@ inline void * operator new[](size_t s, small_object_allocator & r) { return r.al
|
|||
inline void operator delete(void * p, small_object_allocator & r) { UNREACHABLE(); }
|
||||
inline void operator delete[](void * p, small_object_allocator & r) { UNREACHABLE(); }
|
||||
|
||||
#endif /* _SMALL_OBJECT_ALLOCATOR_H_ */
|
||||
#endif /* SMALL_OBJECT_ALLOCATOR_H_ */
|
||||
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Notes:
|
||||
|
||||
--*/
|
||||
#ifndef _SMT2_UTIL_H_
|
||||
#define _SMT2_UTIL_H_
|
||||
#ifndef SMT2_UTIL_H_
|
||||
#define SMT2_UTIL_H_
|
||||
|
||||
#include"symbol.h"
|
||||
|
||||
|
|
|
@ -21,8 +21,8 @@ Notes:
|
|||
|
||||
#include "vector.h"
|
||||
|
||||
#ifndef _SORTING_NETWORK_H_
|
||||
#define _SORTING_NETWORK_H_
|
||||
#ifndef SORTING_NETWORK_H_
|
||||
#define SORTING_NETWORK_H_
|
||||
|
||||
|
||||
template <typename Ext>
|
||||
|
|
|
@ -15,8 +15,8 @@ Author:
|
|||
Notes:
|
||||
|
||||
--*/
|
||||
#ifndef _STACK_H_
|
||||
#define _STACK_H_
|
||||
#ifndef STACK_H_
|
||||
#define STACK_H_
|
||||
|
||||
#include"page.h"
|
||||
#include"debug.h"
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Notes:
|
||||
|
||||
--*/
|
||||
#ifndef _STATISTICS_H_
|
||||
#define _STATISTICS_H_
|
||||
#ifndef STATISTICS_H_
|
||||
#define STATISTICS_H_
|
||||
|
||||
#include<iostream>
|
||||
#include"vector.h"
|
||||
|
|
|
@ -17,8 +17,8 @@ Revision History:
|
|||
|
||||
--*/
|
||||
|
||||
#ifndef __STATS_H_
|
||||
#define __STATS_H_
|
||||
#ifndef STATS_H_
|
||||
#define STATS_H_
|
||||
|
||||
#include<ostream>
|
||||
|
||||
|
|
|
@ -17,8 +17,8 @@ Revision History:
|
|||
|
||||
--*/
|
||||
|
||||
#ifndef _STOPWATCH_H_
|
||||
#define _STOPWATCH_H_
|
||||
#ifndef STOPWATCH_H_
|
||||
#define STOPWATCH_H_
|
||||
|
||||
#if defined(_WINDOWS) || defined(_CYGWIN)
|
||||
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _STR_HASHTABLE_H_
|
||||
#define _STR_HASHTABLE_H_
|
||||
#ifndef STR_HASHTABLE_H_
|
||||
#define STR_HASHTABLE_H_
|
||||
|
||||
#include<string.h>
|
||||
|
||||
|
@ -30,5 +30,5 @@ struct str_hash_proc {
|
|||
struct str_eq_proc { bool operator()(char const * s1, char const * s2) const { return strcmp(s1, s2) == 0; } };
|
||||
typedef ptr_hashtable<char, str_hash_proc, str_eq_proc> str_hashtable;
|
||||
|
||||
#endif /* _STR_HASHTABLE_H_ */
|
||||
#endif /* STR_HASHTABLE_H_ */
|
||||
|
||||
|
|
|
@ -18,8 +18,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _STREAM_BUFFER_H_
|
||||
#define _STREAM_BUFFER_H_
|
||||
#ifndef STREAM_BUFFER_H_
|
||||
#define STREAM_BUFFER_H_
|
||||
|
||||
#include<iostream>
|
||||
|
||||
|
@ -42,5 +42,5 @@ public:
|
|||
}
|
||||
};
|
||||
|
||||
#endif /* _STREAM_BUFFER_H_ */
|
||||
#endif /* STREAM_BUFFER_H_ */
|
||||
|
||||
|
|
|
@ -16,8 +16,8 @@
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _STRING_BUFFER_H_
|
||||
#define _STRING_BUFFER_H_
|
||||
#ifndef STRING_BUFFER_H_
|
||||
#define STRING_BUFFER_H_
|
||||
|
||||
#include<cstdio>
|
||||
#include<string>
|
||||
|
|
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _SYMBOL_H_
|
||||
#define _SYMBOL_H_
|
||||
#ifndef SYMBOL_H_
|
||||
#define SYMBOL_H_
|
||||
#include<ostream>
|
||||
#include<limits.h>
|
||||
|
||||
|
@ -152,5 +152,5 @@ void finalize_symbols();
|
|||
// two non-numerical symbols are compared using string comparison.
|
||||
bool lt(symbol const & s1, symbol const & s2);
|
||||
|
||||
#endif /* _SYMBOL_H_ */
|
||||
#endif /* SYMBOL_H_ */
|
||||
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue