mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-23 05:31:32 +00:00
Add example, rename Ctx fn, make things pub(crate), misc changes
This commit is contained in:
@ -44,7 +44,7 @@ impl<'a> From<DynFunc<'a>> for Anyfunc<'a> {
|
||||
}
|
||||
|
||||
pub struct AnyfuncTable {
|
||||
pub backing: Vec<vm::Anyfunc>,
|
||||
pub(crate) backing: Vec<vm::Anyfunc>,
|
||||
max: Option<u32>,
|
||||
}
|
||||
|
||||
|
@ -9,7 +9,8 @@ use std::{cell::RefCell, fmt, ptr, rc::Rc};
|
||||
|
||||
mod anyfunc;
|
||||
|
||||
pub use self::anyfunc::{Anyfunc, AnyfuncTable};
|
||||
pub use self::anyfunc::Anyfunc;
|
||||
pub(crate) use self::anyfunc::AnyfuncTable;
|
||||
use crate::error::GrowError;
|
||||
|
||||
pub enum Element<'a> {
|
||||
|
Reference in New Issue
Block a user