From: Brendan Hansen Date: Mon, 14 Dec 2020 20:50:59 +0000 (-0600) Subject: cleaned up day 14 X-Git-Url: https://git.brendanfh.com/?a=commitdiff_plain;h=657542779c5aaf4f3ef357166fda2f93727bda4c;p=onyx-aoc-2020.git cleaned up day 14 --- diff --git a/day14.onyx b/day14.onyx index 844a286..e2e1789 100644 --- a/day14.onyx +++ b/day14.onyx @@ -29,7 +29,7 @@ BitmaskIter :: struct { done : bool; } -bitmask_iter_make :: proc (mask: Bitmask, val: u64) -> BitmaskIter #export "foobar" { +bitmask_iter_make :: proc (mask: Bitmask, val: u64) -> BitmaskIter { bmi : BitmaskIter; bmi.done = false; @@ -72,7 +72,7 @@ bitmask_iter_next :: proc (use bmi: ^BitmaskIter) -> u64 { if !is_set do break break; } - done = true; + done = true; } return val;