Use locked_read.

This commit is contained in:
Stephen Chung
2022-06-26 14:10:09 +08:00
parent 84b8e1ed87
commit 7068775f19
10 changed files with 35 additions and 92 deletions

View File

@@ -22,8 +22,8 @@ pub use hashing::{
combine_hashes, get_hasher,
};
pub use native::{
locked_read, locked_write, shared_make_mut, shared_take, shared_take_or_clone, shared_try_take,
FnAny, FnPlugin, IteratorFn, Locked, NativeCallContext, SendSync, Shared,
locked_read, locked_write, shared_get_mut, shared_make_mut, shared_take, shared_take_or_clone,
shared_try_take, FnAny, FnPlugin, IteratorFn, Locked, NativeCallContext, SendSync, Shared,
};
pub use plugin::PluginFunction;
pub use register::RegisterNativeFunction;