authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2017-02-01 03:28:40-05:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2017-02-01 03:28:40-05:00
log4df1a9b251926ca05c4f65ed3daf2756c67e82de
tree2793a2c799f401f63c178ee8a03569df99a2d20b
parentd13cec6894aa01b6a5dbf6a7cf9b071fa9c68666

document setDebugSafety builtin function


1 files changed, 4 insertions(+), 0 deletions(-)

doc/langref.md+4
......@@ -650,6 +650,10 @@ This function returns an integer type with the given signness and bit count.
650650
651651Makes the target function a test function.
652652
653### @setDebugSafety(scope, safety_on: bool)
654
655Sets a whether we want debug safety checks on for a given scope.
656
653657### @isInteger(comptime T: type) -> bool
654658
655659Returns whether a given type is an integer.