aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2017-02-19 12:38:49 +0000
committerGinger Bill <bill@gingerbill.org>2017-02-19 12:38:49 +0000
commit6fdcbefe5d488deea2825d908ff36af624e170d2 (patch)
treeb85f96e764bb61ee9cc428864f716a79ccdf1b2b /core
parent3cec2550d9b15eb56b8dd1b42a30b9f47ace0b4c (diff)
Unexported struct fields
Diffstat (limited to 'core')
-rw-r--r--core/fmt.odin2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/fmt.odin b/core/fmt.odin
index d340bbe5d..6e0856ecb 100644
--- a/core/fmt.odin
+++ b/core/fmt.odin
@@ -11,6 +11,8 @@ Buffer :: struct {
length: int,
}
+
+
buffer_write :: proc(buf: ^Buffer, b: []byte) {
if buf.length < buf.data.count {
n := min(buf.data.count-buf.length, b.count);