Unexported struct fields
This commit is contained in:
1 parent
3cec2550d9
commit
6fdcbefe5d
5 files changed
+52
-28
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user