mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-04 01:58:16 +00:00
Impl IO trait for VfsMod type
This commit is contained in:
parent
7d18b6b8b0
commit
8d3c44cf00
3 changed files with 165 additions and 0 deletions
|
@ -90,6 +90,8 @@ pub struct VfsFileImpl {
|
|||
pub file: *const c_void,
|
||||
pub vfs: *const VfsImpl,
|
||||
}
|
||||
unsafe impl Send for VfsFileImpl {}
|
||||
unsafe impl Sync for VfsFileImpl {}
|
||||
|
||||
impl VfsFileImpl {
|
||||
pub fn new(file: *const c_void, vfs: *const VfsImpl) -> ExtResult<Self> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue