mirror of
https://codeberg.org/ziglings/exercises.git
synced 2026-06-08 07:50:00 +00:00
Correct conventional Zig reference vs value passing re #89
This commit is contained in:
@@ -22,7 +22,9 @@ p=patches/patches/$f.patch
|
||||
if [ ! -f $b ]; then echo "No $f! We hates it!"; exit 1; fi
|
||||
if [ ! -f $a ]; then echo "No $a! Where is it? Where is the answer, precious?"; exit; fi
|
||||
|
||||
echo "Hissss!\tbefore: '$b'\n\t after: '$a'\n\t patch: '$p'\n"
|
||||
echo "Hissss! before: '$b'"
|
||||
echo " after: '$a'"
|
||||
echo " patch: '$p'"
|
||||
|
||||
diff $b $a > $p
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
31c31
|
||||
40c40
|
||||
< ??? = 5; // fix me!
|
||||
---
|
||||
> x.* = 5; // fix me!
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
60c60
|
||||
71c71
|
||||
< printCharacter(???);
|
||||
---
|
||||
> printCharacter(&glorp);
|
||||
|
||||
Reference in New Issue
Block a user