Move double map to support module and generalize it (#1379)

* Move double map to support and generalize it

* add docs back

* reduces the number of required allocations
This commit is contained in:
Xiliang Chen
2019-01-11 23:44:15 +13:00
committed by Gav Wood
parent cc3748f034
commit bf51b8a5ad
5 changed files with 55 additions and 45 deletions
+2
View File
@@ -67,12 +67,14 @@ pub mod metadata;
mod runtime;
#[macro_use]
pub mod inherent;
mod double_map;
pub use self::storage::{StorageVec, StorageList, StorageValue, StorageMap};
pub use self::hashable::Hashable;
pub use self::dispatch::{Parameter, Dispatchable, Callable, IsSubType};
pub use self::metadata::RuntimeMetadata;
pub use runtime_io::print;
pub use double_map::StorageDoubleMap;
#[doc(inline)]
pub use srml_support_procedural::decl_storage;