diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2019-02-07 00:42:41 -0500 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-02-07 00:42:41 -0500 |
| commit | 36bade5c562bf0b2479b6dfdd465a1a312890835 (patch) | |
| tree | 5ecb89cb50e08dc7032e31c84128f5d32d20d315 /std/math/complex/sin.zig | |
| parent | c804ae2d6b1f62d9cb45db2613d36ef14ac539a0 (diff) | |
| download | zig-36bade5c562bf0b2479b6dfdd465a1a312890835.tar.gz zig-36bade5c562bf0b2479b6dfdd465a1a312890835.zip | |
fixups, and modify std.mem.join and std.os.path.resolve API
* zig fmt
* std.mem.join takes a slice of slices instead of var args
* std.mem.join takes a separator slice rather than byte,
and always inserts it. Previously it would not insert the separator
if there already was one, violating the documented behavior.
* std.mem.join calculates exactly the correct amount to allocate
and has no call to allocator.shrink()
* bring back joinWindows and joinPosix and the corresponding tests.
it is intended to be able to call these functions from any OS.
* rename std.os.path.resolveSlice to resolve (now resolve takes
a slice of slices instead of var args)
Diffstat (limited to 'std/math/complex/sin.zig')
0 files changed, 0 insertions, 0 deletions
