Templates are working, but the code is ugly af
This commit is contained in:
@@ -10,6 +10,17 @@ func main(args: []cstring): i64
|
||||
value = "bob"
|
||||
}
|
||||
|
||||
let box2 = alloc Box<cstring>
|
||||
{
|
||||
value = "bob"
|
||||
}
|
||||
|
||||
let box3 = alloc Box<u8>
|
||||
{
|
||||
value = 23
|
||||
}
|
||||
|
||||
|
||||
c::puts(box.value)
|
||||
|
||||
return 0
|
||||
|
||||
Reference in New Issue
Block a user