lib: drop snake_case from io/types/bufio/net/os exports
This commit is contained in:
@@ -7,17 +7,17 @@
|
||||
// revision will replace it with *io.stream once `use` resolves
|
||||
// types from imported modules.
|
||||
|
||||
type stream_p = *void;
|
||||
type streamp = *void;
|
||||
|
||||
type buf = struct {
|
||||
s: stream_p,
|
||||
s: streamp,
|
||||
data: *u8,
|
||||
cap: i32,
|
||||
r: i32, // read cursor
|
||||
w: i32, // write cursor (for writers)
|
||||
};
|
||||
|
||||
export fn rinit(b: *buf, s: stream_p, data: *u8, cap: i32) void = {
|
||||
export fn rinit(b: *buf, s: streamp, data: *u8, cap: i32) void = {
|
||||
b.s = s;
|
||||
b.data = data;
|
||||
b.cap = cap;
|
||||
|
||||
Reference in New Issue
Block a user