Exemplo n.º 1
0
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);
}
Exemplo n.º 2
0
 array alloc(const ndt::type *dst_tp) const { return empty_shell(*dst_tp); }