diff options
| author | Marc Tiehuis <marctiehuis@gmail.com> | 2019-03-26 19:47:26 +1300 |
|---|---|---|
| committer | Marc Tiehuis <marctiehuis@gmail.com> | 2019-04-11 19:36:35 +1200 |
| commit | ea1d2a240956b2b25d945d361fd274e67ec7849c (patch) | |
| tree | 0a2d39b6b4d1d2cc96053e39b57bde9abc9181b6 /std/debug.zig | |
| parent | e309ad884a5d2fc8b78325199cd6e81d2efa220d (diff) | |
| download | zig-ea1d2a240956b2b25d945d361fd274e67ec7849c.tar.gz zig-ea1d2a240956b2b25d945d361fd274e67ec7849c.zip | |
Add read-only, non-allocating Int for internal constants
A constant Int is one which has a value of null for its allocator field.
It cannot be resized or have its limbs written. Any attempt made to
write to it will be caught with a runtime panic.
Diffstat (limited to 'std/debug.zig')
0 files changed, 0 insertions, 0 deletions
