zig

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

commit ee97fbc199a6b5cf04637d044650d407ce44f883 (tree)
parent 846dbf2745561d8c264527973860b16ae698cb9a
Author: r00ster91 <r00ster91@proton.me>
Date:   Sun, 14 Aug 2022 22:01:52 +0200

api: deprecate `isPunct` too

See https://github.com/ziglang/zig/issues/8419#issuecomment-843719898

Diffstat:
Mlib/std/ascii.zig | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/lib/std/ascii.zig b/lib/std/ascii.zig @@ -278,6 +278,7 @@ pub fn isPrint(c: u8) bool { return inTable(c, tIndex.Graph) or c == ' '; } +/// DEPRECATED: create your own function based on your needs and what you want to do. pub fn isPunct(c: u8) bool { return inTable(c, tIndex.Punct); }