diff options
| author | Ginger Bill <bill@gingerbill.org> | 2017-02-19 12:38:49 +0000 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2017-02-19 12:38:49 +0000 |
| commit | 6fdcbefe5d488deea2825d908ff36af624e170d2 (patch) | |
| tree | b85f96e764bb61ee9cc428864f716a79ccdf1b2b /core | |
| parent | 3cec2550d9b15eb56b8dd1b42a30b9f47ace0b4c (diff) | |
Unexported struct fields
Diffstat (limited to 'core')
| -rw-r--r-- | core/fmt.odin | 2 |
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); |