Compare commits
10 Commits
4ce57955ee
...
8a42beca31
Author | SHA1 | Date |
---|---|---|
Penguin | 8a42beca31 | 1 year ago |
Penguin | a629474867 | 1 year ago |
Penguin | dfed5428e1 | 1 year ago |
Penguin | 234680157a | 1 year ago |
Penguin | e3b678235a | 1 year ago |
Penguin | 17e11d2511 | 2 years ago |
Penguin | f99beed620 | 2 years ago |
Penguin | aed4b86b9b | 2 years ago |
Penguin | 3bcc8b90b1 | 2 years ago |
Penguin | 324174ef55 | 2 years ago |
@ -1,31 +1,36 @@
|
|||||||
// #![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),
|
|
||||||
};
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue