diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2020-08-08 00:34:13 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-08-08 00:34:13 -0700 |
| commit | cd6cdd0a752ba3e134ba371246cc02b1d7faaa88 (patch) | |
| tree | e4b6aaa5a1d47466addf16fc1b60a9b40cb98bf8 /lib/std/math.zig | |
| parent | 0347df82e8c821906ef0d07ec65fe4b3884c0212 (diff) | |
| download | zig-cd6cdd0a752ba3e134ba371246cc02b1d7faaa88.tar.gz zig-cd6cdd0a752ba3e134ba371246cc02b1d7faaa88.zip | |
std.mem.Allocator: add return_address to the interface
The high level Allocator interface API functions will now do a
`@returnAddress()` so that stack traces captured by allocator
implementations have a return address that does not include the
Allocator overhead functions. This makes `4` a more reasonable default
for how many stack frames to capture.
Diffstat (limited to 'lib/std/math.zig')
0 files changed, 0 insertions, 0 deletions
