mirror of
https://github.com/fluencelabs/parity-wasm
synced 2025-06-25 12:42:03 +00:00
continue env module implementation
This commit is contained in:
@ -2,7 +2,7 @@ use std::io;
|
||||
use super::{Deserialize, Serialize, Error, VarUint7, VarUint32};
|
||||
|
||||
/// Internal reference of the exported entry.
|
||||
#[derive(Clone, Copy)]
|
||||
#[derive(Debug, Clone, Copy)]
|
||||
pub enum Internal {
|
||||
/// Function reference.
|
||||
Function(u32),
|
||||
@ -48,6 +48,7 @@ impl Serialize for Internal {
|
||||
}
|
||||
|
||||
/// Export entry.
|
||||
#[derive(Debug)]
|
||||
pub struct ExportEntry {
|
||||
field_str: String,
|
||||
internal: Internal,
|
||||
|
Reference in New Issue
Block a user