/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* main.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: jhalford +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2016/08/08 14:49:37 by jhalford #+# #+# */ /* Updated: 2016/08/11 11:23:06 by jhalford ### ########.fr */ /* */ /* ************************************************************************** */ #include "ft_point.h" #include void set_point(t_point *point) { point->x = 42; point->y = 21; } int main(void) { t_point point; set_point(&point); printf("%i, %i\n", point.x, point.y); return (0); }