pub fn actions_from_ffi(actions: &[Action]) -> Vec<Action>