Skip to content

Commit

Permalink
using alloy.rs trait
Browse files Browse the repository at this point in the history
  • Loading branch information
Ignalina committed Oct 24, 2022
1 parent 4841020 commit 3906589
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ffi/rust/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,10 @@ pub unsafe extern "C" fn from_chunks_ffi(
arrays.push(array);
}

for (i, array) in arrays.iter().enumerate() {
info!("array{}: {:?}", i + 1, array);
}
// @Wilhelm help me make a load specified .so file and create instance of OneShot instead of DummyBackend
let db: DummyBackend = DummyBackend{ ddlname: String::from("dummy") };
db.from_chunks(arrays) as c_uint


arrays.len() as c_uint
}

0 comments on commit 3906589

Please sign in to comment.