Further massive amounts of work
This commit is contained in:
16
src/lib.rs
16
src/lib.rs
@@ -4,16 +4,26 @@
|
||||
#![feature(bench_black_box)]
|
||||
#![feature(let_chains)]
|
||||
|
||||
#[macro_use]
|
||||
extern crate maplit;
|
||||
|
||||
#[cfg(feature = "c_interface")]
|
||||
#[macro_use]
|
||||
extern crate lazy_static;
|
||||
|
||||
use crate::dynamic_data::libraries::script_resolver::ScriptCategory;
|
||||
|
||||
mod c_interface;
|
||||
|
||||
pub mod defines;
|
||||
pub mod dynamic_data;
|
||||
pub mod static_data;
|
||||
pub mod utils;
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
pub enum PokemonError {
|
||||
ScriptNotFound {
|
||||
category: ScriptCategory,
|
||||
name: String,
|
||||
},
|
||||
MiscError,
|
||||
}
|
||||
|
||||
pub type PkmnResult<T> = std::result::Result<T, PokemonError>;
|
||||
|
||||
Reference in New Issue
Block a user