Unexported struct fields on selectors

This commit is contained in:
Ginger Bill committed 2017-02-19 12:47:02 +00:00
1 parent 6fdcbefe5d
commit c0d5237b75
3 files changed
+39 -18

No files matched your search

-2
View File
@@ -11,8 +11,6 @@ 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);