aboutsummaryrefslogtreecommitdiff
path: root/core/text/table/utility.odin
blob: 0e56fd96864ad5eaecaca9f4a346b629e580540a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package text_table

import "core:io"
import "core:os"
import "core:strings"

stdio_writer :: proc() -> io.Writer {
	return io.to_writer(os.stream_from_handle(os.stdout))
}

strings_builder_writer :: proc(b: ^strings.Builder) -> io.Writer {
	return strings.to_writer(b)
}