/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* map_count.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: kdx width + 1) * map->height) { count += (map->data[i] == v); i++; } return (count); }