document setDebugSafety builtin function

master
Andrew Kelley 2017-02-01 03:28:40 -05:00
parent d13cec6894
commit 4df1a9b251
1 changed files with 4 additions and 0 deletions

View File

@ -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.