Compare commits
No commits in common. '8a42beca31accf96836f4fa6ef7239e0743fe793' and '4ce57955ee3bf67e2c2854d4f377f7e96a4503e3' have entirely different histories.
8a42beca31
...
4ce57955ee
@ -1,36 +1,31 @@
|
|||||||
// #![allow(warnings)]
|
// #![allow(warnings)]
|
||||||
// #![allow(non_snake_case)]
|
#![allow(non_snake_case)]
|
||||||
// #![allow(non_camel_case_types)]
|
#![allow(non_camel_case_types)]
|
||||||
//
|
|
||||||
// use igloo_core::Igloo;
|
use igloo_core::Igloo;
|
||||||
//
|
|
||||||
// #[macro_use] extern crate igloo_util;
|
#[macro_use] extern crate igloo_util;
|
||||||
// use igloo_util::IglooDebugSeverity::{self, *};
|
use igloo_util::IglooDebugSeverity::{self, *};
|
||||||
// use igloo_util::IglooStatus::{self, *};
|
use igloo_util::IglooStatus::{self, *};
|
||||||
// use igloo_util::IglooType::{self, *};
|
use igloo_util::IglooType::{self, *};
|
||||||
// use igloo_util::TRACE_LEVEL;
|
use igloo_util::TRACE_LEVEL;
|
||||||
//
|
|
||||||
// fn main()
|
|
||||||
// {
|
|
||||||
// let mut ig = Igloo::new();
|
|
||||||
// let _start_ret = match ig.start()
|
|
||||||
// {
|
|
||||||
// Ok(it) =>
|
|
||||||
// {
|
|
||||||
// match ig.run(it)
|
|
||||||
// {
|
|
||||||
//
|
|
||||||
// IS_GOOD => (),
|
|
||||||
// // this is actually so dumb and should not exist in any language
|
|
||||||
// ANYTHING_ELSE => igloo_debug!(ERROR, ANYTHING_ELSE),
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// Err(e) => println!("Error: {:?}", e),
|
|
||||||
// };
|
|
||||||
//
|
|
||||||
// }
|
|
||||||
|
|
||||||
fn main()
|
fn main()
|
||||||
{
|
{
|
||||||
|
let mut ig = Igloo::new();
|
||||||
|
let _start_ret = match ig.start()
|
||||||
|
{
|
||||||
|
Ok(it) =>
|
||||||
|
{
|
||||||
|
match ig.run(it)
|
||||||
|
{
|
||||||
|
|
||||||
|
IS_GOOD => (),
|
||||||
|
// this is actually so dumb and should not exist in any language
|
||||||
|
ANYTHING_ELSE => igloo_debug!(ERROR, ANYTHING_ELSE),
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Err(e) => println!("Error: {:?}", e),
|
||||||
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue