Skip to content

Commit 6b372a8

Browse files
authored
Merge pull request #57 from ewasm/exports
Export types module
2 parents 2892534 + 566c9aa commit 6b372a8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
///
1313
/// use ewasm_api::{Hash, block_hash, finish_data};
1414
///
15+
/// #[cfg(target_arch = "wasm32")]
1516
/// #[no_mangle]
1617
/// pub extern "C" fn main() {
1718
/// let a: Hash = block_hash(1);
@@ -36,7 +37,7 @@ pub mod convert;
3637
#[cfg(feature = "std")]
3738
use std::vec::Vec;
3839

39-
use crate::types::*;
40+
pub use crate::types::*;
4041
use crate::utils::*;
4142

4243
/// Enum representing an error code for EEI calls. Currently used by `codeCopy`, `callDataCopy`,

0 commit comments

Comments
 (0)