wasmtime: Make Func::store a public method
This commit is contained in:
@@ -727,9 +727,7 @@ impl Func {
|
||||
(get15, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15)
|
||||
}
|
||||
|
||||
// This should be `pub(crate)` but the C API happens to need it in one
|
||||
// place.
|
||||
#[doc(hidden)]
|
||||
/// Get a reference to this function's store.
|
||||
pub fn store(&self) -> &Store {
|
||||
&self.instance.store
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user