...
This commit is contained in:
@@ -2,7 +2,6 @@ module core
|
||||
|
||||
extern func puts(text: ^u8)
|
||||
|
||||
export func print(text: string)
|
||||
{
|
||||
export func print(text: string) {
|
||||
puts(text.ptr)
|
||||
}
|
||||
@@ -3,7 +3,5 @@ module main
|
||||
func main(): i32
|
||||
{
|
||||
core::print("Hello, world")
|
||||
let ptr = core::malloc(64)
|
||||
core::free(ptr)
|
||||
return 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user