swap_info: change to array of pointers