mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-17 00:11:25 -07:00
Unexported struct fields on selectors
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user