mirror of
https://codeberg.org/ziglings/exercises.git
synced 2026-06-10 17:09:59 +00:00
Add ex51 values
This commit is contained in:
12
patches/patches/51_values.patch
Normal file
12
patches/patches/51_values.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
96c96
|
||||
< const print = ???;
|
||||
---
|
||||
> const print = std.debug.print;
|
||||
152c152
|
||||
< levelUp(glorp, reward_xp);
|
||||
---
|
||||
> levelUp(&glorp, reward_xp);
|
||||
157c157
|
||||
< fn levelUp(character_access: Character, xp: u32) void {
|
||||
---
|
||||
> fn levelUp(character_access: *Character, xp: u32) void {
|
||||
Reference in New Issue
Block a user