Rework this param

This commit is contained in:
nub31
2025-08-13 21:43:00 +02:00
parent e80f853211
commit 3ffd17f93e
6 changed files with 202 additions and 91 deletions

View File

@@ -1,12 +1,12 @@
extern func puts(fmt: cstring)
extern func puts(text: cstring)
struct Human
{
name: cstring
func str(): cstring
func print()
{
return this.name
puts(this.name)
}
}
@@ -16,7 +16,7 @@ func main(args: []cstring): i64
name = "oliver"
}
puts(human.str())
human.print()
return 0
}