Add Rust bindings (alpha)

This commit is contained in:
Joseph Henry
2021-05-30 19:51:26 -07:00
parent 3ea146fa5b
commit 8c275c4899
14 changed files with 285 additions and 57 deletions

View File

@@ -21,7 +21,6 @@ use std::{io, mem};
type time_t = i64;
use crate::libzt::*;
use crate::utils::*;
// Note: FileDesc and c_int in libc are private so we can't use that. Use i32 instead