Update dependencies and fix breaking changes in libffi-sys and arcu
This commit is contained in:
12
src/ffi.rs
12
src/ffi.rs
@@ -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>>,
|
||||
|
||||
Reference in New Issue
Block a user