libffi-rs
libffi-rs copied to clipboard
Fix ClosureMutN soundness
Changes the argument of ClosureMutN::code_ptr to be &mut self instead of &self. This is an attempt to resolve the second check box of #34:
It erases mutability required to call closures (read:
ClosureMutNcan be called by shared reference)