zig/std
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
2019-02-03 16:13:28 -05:00
..
atomic std.mem.Allocator.create replaced with better API 2019-02-03 16:13:28 -05:00
c darwin: fix incorrect timeval struct type 2019-01-31 18:57:53 -05:00
crypto breaking API changes to all readInt/writeInt functions & more 2018-12-12 20:35:04 -05:00
debug std.mem.Allocator.create replaced with better API 2019-02-03 16:13:28 -05:00
event std.mem.Allocator.create replaced with better API 2019-02-03 16:13:28 -05:00
fmt fixups 2019-02-01 12:22:21 -05:00
hash breaking API changes to all readInt/writeInt functions & more 2018-12-12 20:35:04 -05:00
io introduce std.io.SeekableStream 2018-12-02 18:36:18 -05:00
math fix incorrect parameter names for std.math.atan2 2019-01-14 18:11:17 -05:00
meta Added serialization, bitstreams, traits for integer sign, TagPayloadType 2018-11-30 14:50:17 -06:00
os std.mem.Allocator.create replaced with better API 2019-02-03 16:13:28 -05:00
rand breaking API changes to all readInt/writeInt functions & more 2018-12-12 20:35:04 -05:00
special Merge pull request #1859 from mgxm/fbsd2 2018-12-29 12:49:23 -05:00
zig std.mem.Allocator.create replaced with better API 2019-02-03 16:13:28 -05:00
array_list.zig tests: re: 79db394; 2018-12-20 22:53:54 +09:00
base64.zig Fixed typos 2018-11-16 14:03:39 -05:00
buf_map.zig fixups 2018-12-13 17:13:10 -05:00
buf_set.zig New Zig formal grammar (#1685) 2018-11-13 05:08:37 -08:00
buffer.zig New Zig formal grammar (#1685) 2018-11-13 05:08:37 -08:00
build.zig std.mem.Allocator.create replaced with better API 2019-02-03 16:13:28 -05:00
coff.zig breaking API changes to all readInt/writeInt functions & more 2018-12-12 20:35:04 -05:00
cstr.zig New Zig formal grammar (#1685) 2018-11-13 05:08:37 -08:00
dwarf.zig self-hosted: create tmp dir for .o files and emit .o file for fn 2018-07-16 20:52:50 -04:00
dynamic_library.zig Removed allocator from Linux version DynLib. Added dynamic_library.zig to std test list. 2018-12-20 14:49:34 -05:00
elf.zig breaking API changes to all readInt/writeInt functions & more 2018-12-12 20:35:04 -05:00
empty.zig
event.zig update std lib API for I/O 2018-09-30 17:28:35 -04:00
hash_map.zig introduce vector type for SIMD 2019-01-30 23:39:25 -05:00
heap.zig std.mem.Allocator.create replaced with better API 2019-02-03 16:13:28 -05:00
index.zig fixups 2019-02-01 12:22:21 -05:00
io_test.zig Minor change to custom (de)serializer to allow them to be defined outside of the struct and aliased inside it. This will enable alternate generic serializers (i.e. one that follows pointers) on a struct-by-struct basis. 2018-12-09 20:52:16 -06:00
io.zig std.mem.Allocator.create replaced with better API 2019-02-03 16:13:28 -05:00
json_test.zig Allow json tests to be easily filtered 2018-11-19 18:08:38 -05:00
json.zig fix regression from d5648d26 2018-11-27 00:52:32 -05:00
lazy_init.zig New Zig formal grammar (#1685) 2018-11-13 05:08:37 -08:00
linked_list.zig std.mem.Allocator.create replaced with better API 2019-02-03 16:13:28 -05:00
macho.zig New Zig formal grammar (#1685) 2018-11-13 05:08:37 -08:00
mem.zig std.mem.Allocator.create replaced with better API 2019-02-03 16:13:28 -05:00
mutex.zig introduce --single-threaded build option 2019-02-01 18:05:54 -05:00
net.zig breaking API changes to all readInt/writeInt functions & more 2018-12-12 20:35:04 -05:00
pdb.zig Hopefully fixed #1503 (at least improved) line accuracy of stack traces on windows. 2019-01-18 10:35:00 +01:00
rb.zig camelCase std.rb.set_child to std.rb.setChild 2018-11-16 13:03:13 -05:00
segmented_list.zig Add SegmentedList.shrink 2018-11-19 10:53:25 -05:00
sort.zig New Zig formal grammar (#1685) 2018-11-13 05:08:37 -08:00
spinlock.zig New Zig formal grammar (#1685) 2018-11-13 05:08:37 -08:00
statically_initialized_mutex.zig introduce --single-threaded build option 2019-02-01 18:05:54 -05:00
unicode.zig breaking API changes to all readInt/writeInt functions & more 2018-12-12 20:35:04 -05:00