mirror of
https://forge.katzen.cafe/katzen-cafe/iowo.git
synced 2025-09-25 07:51:30 +02:00
moved namespaces to their own module
This commit is contained in:
parent
91adcd40f5
commit
03412ce8cd
9 changed files with 326 additions and 304 deletions
|
@ -1,9 +1,7 @@
|
|||
use self::namespace::{GlobalNamespace, TypeDef};
|
||||
|
||||
pub mod namespace;
|
||||
use crate::namespace::{typedef::TypeDef, GlobalNamespace};
|
||||
|
||||
pub fn initialise_globals() -> GlobalNamespace {
|
||||
let mut ns = GlobalNamespace::init();
|
||||
let ns = GlobalNamespace::init();
|
||||
|
||||
let numeric = ns.register_trait("Numeric").unwrap();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue