mirror of
https://github.com/ziglang/zig.git
synced 2024-12-04 02:48:50 +00:00
9d4eaf1e07
std.io.FileInStream -> std.os.File.InStream std.io.FileInStream.init(file) -> file.inStream() std.io.FileOutStream -> std.os.File.OutStream std.io.FileOutStream.init(file) -> file.outStream() remove a lot of error code possibilities from os functions std.event.net.socketRead -> std.event.net.read std.event.net.socketWrite -> std.event.net.write add std.event.net.readv add std.event.net.writev add std.event.net.readvPosix add std.event.net.writevPosix add std.event.net.OutStream add std.event.net.InStream add std.event.io.InStream add std.event.io.OutStream
26 lines
981 B
Zig
26 lines
981 B
Zig
pub const Channel = @import("event/channel.zig").Channel;
|
|
pub const Future = @import("event/future.zig").Future;
|
|
pub const Group = @import("event/group.zig").Group;
|
|
pub const Lock = @import("event/lock.zig").Lock;
|
|
pub const Locked = @import("event/locked.zig").Locked;
|
|
pub const RwLock = @import("event/rwlock.zig").RwLock;
|
|
pub const RwLocked = @import("event/rwlocked.zig").RwLocked;
|
|
pub const Loop = @import("event/loop.zig").Loop;
|
|
pub const io = @import("event/io.zig");
|
|
pub const fs = @import("event/fs.zig");
|
|
pub const net = @import("event/net.zig");
|
|
|
|
test "import event tests" {
|
|
_ = @import("event/channel.zig");
|
|
_ = @import("event/fs.zig");
|
|
_ = @import("event/future.zig");
|
|
_ = @import("event/group.zig");
|
|
_ = @import("event/io.zig");
|
|
_ = @import("event/lock.zig");
|
|
_ = @import("event/locked.zig");
|
|
_ = @import("event/rwlock.zig");
|
|
_ = @import("event/rwlocked.zig");
|
|
_ = @import("event/loop.zig");
|
|
_ = @import("event/net.zig");
|
|
}
|