Update dependencies and fix breaking changes in libffi-sys and arcu

This commit is contained in:
bakaq
2025-05-13 19:53:13 -03:00
parent a42a88a2c9
commit ca173873af
4 changed files with 345 additions and 267 deletions

View File

@@ -53,13 +53,23 @@ pub struct ForeignFunctionTable {
structs: HashMap<String, StructImpl>,
}
#[derive(Debug, Clone)]
#[derive(Clone)]
struct StructImpl {
ffi_type: ffi_type,
fields: Vec<*mut ffi_type>,
atom_fields: Vec<Atom>,
}
impl std::fmt::Debug for StructImpl {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
f.debug_struct("StructImpl")
.field("ffi_type", &&"<???>")
.field("fields", &self.fields)
.field("atom_fields", &self.atom_fields)
.finish()
}
}
struct PointerArgs {
pointers: Vec<*mut c_void>,
_memory: Vec<Box<dyn Any>>,