t_shell *get_shell(int i, t_shell *shell) { t_shell *cpy; if (i == 1) cpy = empty_shell(); else cpy = copy_shell(shell); cpy->terminal = shell->terminal; cpy->term_save = shell->term_save; return (cpy); }
array alloc(const ndt::type *dst_tp) const { return empty_shell(*dst_tp); }