use libffi::middle instead of libffi::low were possible
This commit is contained in:
committed by
Bennet Bleßmann
parent
6205f2f1f1
commit
3d2439c92b
@@ -599,6 +599,8 @@ impl MachineState {
|
||||
FFIError::InvalidStructName => atom!("invalid_struct_name"),
|
||||
FFIError::FunctionNotFound => atom!("function_not_found"),
|
||||
FFIError::StructNotFound => atom!("struct_not_found"),
|
||||
FFIError::ArgCountMismatch => atom!("mismatched_argument_count"),
|
||||
FFIError::AllocationFailed => atom!("allocation_failed"),
|
||||
};
|
||||
let stub = functor!(atom!("ffi_error"), [atom_as_cell(error_atom)]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user