aboutsummaryrefslogtreecommitdiff
path: root/std/debug.zig
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2019-04-22 03:48:27 +1000
committerAndrew Kelley <andrew@ziglang.org>2019-04-21 14:04:01 -0400
commit211f0a2226db7c53cfa1581c5572a6100c3e17f6 (patch)
treec3f321972a86a0cb0d9357d37a5c0572bfc95366 /std/debug.zig
parentbb25f212b3630eeaac6a76575f21875d7d94e1a4 (diff)
downloadzig-211f0a2226db7c53cfa1581c5572a6100c3e17f6.tar.gz
zig-211f0a2226db7c53cfa1581c5572a6100c3e17f6.zip
std: Add mem.nativeIntToBig and mem.nativeIntToLittle
To be used where `htons`, `htonl`, etc. would be used in C. It's useful to have a function that returns a number directly for use in initialisers.
Diffstat (limited to 'std/debug.zig')
0 files changed, 0 insertions, 0 deletions