mirror of https://git.sr.ht/~garritfra/sabre
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
240 B
11 lines
240 B
3 years ago
|
// Raw wrapper around _printf builtin function.
|
||
|
// Writes the given content to stdout
|
||
|
fn print(arg: string) {
|
||
|
_printf(arg)
|
||
|
}
|
||
|
|
||
|
// Like print(), but with an extra newline ('\n') character
|
||
|
fn println(msg: string) {
|
||
|
print(msg + "\n")
|
||
|
}
|