mirror of
https://github.com/odin-lang/Odin.git
synced 2026-02-12 14:23:33 +00:00
16 lines
282 B
Odin
16 lines
282 B
Odin
#+build !freestanding
|
|
#+build !js
|
|
package text_table
|
|
|
|
import "core:io"
|
|
import "core:os"
|
|
import "core:strings"
|
|
|
|
stdio_writer :: proc() -> io.Writer {
|
|
return os.to_stream(os.stdout)
|
|
}
|
|
|
|
strings_builder_writer :: proc(b: ^strings.Builder) -> io.Writer {
|
|
return strings.to_writer(b)
|
|
}
|