0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/std/event
Andrew Kelley dfbc063f79
std.mem.Allocator.create replaced with better API
`std.mem.Allocator.createOne` is renamed to `std.mem.Allocator.create`.

The problem with the previous API is that even after copy elision,
the initalization value passed as a parameter would always be a copy.
With the new API, once copy elision is done, initialization
functions can directly initialize allocated memory in place.

Related:
 * #1872
 * #1873
History 2019-02-03 16:13:28 -05:00
..
channel.zig std.mem.Allocator.create replaced with better API 2019-02-03 16:13:28 -05:00
fs.zig std.mem.Allocator.create replaced with better API 2019-02-03 16:13:28 -05:00
future.zig introduce --single-threaded build option 2019-02-01 18:05:54 -05:00
group.zig std.mem.Allocator.create replaced with better API 2019-02-03 16:13:28 -05:00
io.zig breaking API changes to all readInt/writeInt functions & more 2018-12-12 20:35:04 -05:00
lock.zig introduce --single-threaded build option 2019-02-01 18:05:54 -05:00
locked.zig New Zig formal grammar (#1685) 2018-11-13 05:08:37 -08:00
loop.zig introduce --single-threaded build option 2019-02-01 18:05:54 -05:00
net.zig introduce --single-threaded build option 2019-02-01 18:05:54 -05:00
rwlock.zig introduce --single-threaded build option 2019-02-01 18:05:54 -05:00
rwlocked.zig New Zig formal grammar (#1685) 2018-11-13 05:08:37 -08:00