2014-09-22 22:26:41 +00:00
|
|
|
/*
|
|
|
|
Copyright (c) 2014 Microsoft Corporation. All rights reserved.
|
|
|
|
Released under Apache 2.0 license as described in the file LICENSE.
|
|
|
|
|
|
|
|
Author: Leonardo de Moura
|
|
|
|
*/
|
2014-09-23 15:00:21 +00:00
|
|
|
#include "util/ascii.h"
|
|
|
|
#include "util/debug.h"
|
|
|
|
#include "util/trace.h"
|
2014-09-22 22:26:41 +00:00
|
|
|
#include "util/serializer.h"
|
2014-09-24 16:18:53 +00:00
|
|
|
#include "util/thread_script_state.h"
|
|
|
|
#include "util/script_state.h"
|
2014-09-22 22:26:41 +00:00
|
|
|
#include "util/name.h"
|
2014-09-24 16:18:53 +00:00
|
|
|
#include "util/name_generator.h"
|
2014-09-23 15:00:21 +00:00
|
|
|
#include "util/lean_path.h"
|
|
|
|
#include "util/thread.h"
|
2014-09-24 19:51:04 +00:00
|
|
|
#include "util/memory_pool.h"
|
2014-09-22 22:26:41 +00:00
|
|
|
|
|
|
|
namespace lean {
|
|
|
|
void initialize_util_module() {
|
2014-09-23 15:00:21 +00:00
|
|
|
initialize_debug();
|
|
|
|
initialize_trace();
|
2014-09-24 16:18:53 +00:00
|
|
|
initialize_serializer();
|
2014-09-23 15:00:21 +00:00
|
|
|
initialize_thread();
|
|
|
|
initialize_ascii();
|
2014-09-24 16:18:53 +00:00
|
|
|
initialize_thread_script_state();
|
|
|
|
initialize_script_state();
|
2014-09-22 22:26:41 +00:00
|
|
|
initialize_name();
|
2014-09-24 16:18:53 +00:00
|
|
|
initialize_name_generator();
|
|
|
|
initialize_lean_path();
|
2014-09-22 22:26:41 +00:00
|
|
|
}
|
|
|
|
void finalize_util_module() {
|
2014-09-23 15:00:21 +00:00
|
|
|
finalize_lean_path();
|
2014-09-24 16:18:53 +00:00
|
|
|
finalize_name_generator();
|
|
|
|
finalize_name();
|
|
|
|
finalize_script_state();
|
|
|
|
finalize_thread_script_state();
|
2014-09-23 15:00:21 +00:00
|
|
|
finalize_ascii();
|
|
|
|
finalize_thread();
|
2014-09-24 16:18:53 +00:00
|
|
|
finalize_serializer();
|
2014-09-23 15:00:21 +00:00
|
|
|
finalize_trace();
|
|
|
|
finalize_debug();
|
2014-09-22 22:26:41 +00:00
|
|
|
}
|
|
|
|
}
|