zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 4df1a9b251926ca05c4f65ed3daf2756c67e82de (tree)
parent d13cec6894aa01b6a5dbf6a7cf9b071fa9c68666
Author: Andrew Kelley <superjoe30@gmail.com>
Date:   Wed,  1 Feb 2017 03:28:40 -0500

document setDebugSafety builtin function

Diffstat:
Mdoc/langref.md | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/doc/langref.md b/doc/langref.md @@ -650,6 +650,10 @@ This function returns an integer type with the given signness and bit count. Makes the target function a test function. +### @setDebugSafety(scope, safety_on: bool) + +Sets a whether we want debug safety checks on for a given scope. + ### @isInteger(comptime T: type) -> bool Returns whether a given type is an integer.