Skip to content

Commit

Permalink
Link btree abi functions to module
Browse files Browse the repository at this point in the history
  • Loading branch information
coolreader18 committed Sep 26, 2024
1 parent a6764be commit 965def9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions crates/core/src/host/wasm_common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,9 @@ macro_rules! abi_funcs {
"spacetime_10.0"::iter_by_col_eq,
"spacetime_10.0"::iter_start_filtered,
"spacetime_10.0"::volatile_nonatomic_schedule_immediate,
"spacetime_10.0"::index_id_from_name,
"spacetime_10.0"::datastore_btree_scan_bsatn,
"spacetime_10.0"::datastore_delete_by_btree_scan_bsatn,
}
};
}
Expand Down
2 changes: 1 addition & 1 deletion crates/core/src/host/wasmtime/wasm_instance_env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ impl WasmInstanceEnv {
/// Or when `rstart` or `rend` cannot be decoded to an `Bound<AlgebraicValue>`
/// where the inner `AlgebraicValue`s are
/// typed at the `prefix_elems + 1` `AlgebraicType` of the index's key type.
fn datastore_btree_scan_bsatn(
pub fn datastore_btree_scan_bsatn(
caller: Caller<'_, Self>,
index_id: u32,
prefix_ptr: WasmPtr<u8>,
Expand Down

0 comments on commit 965def9

Please sign in to comment.