mirror of
https://github.com/ziglang/zig.git
synced 2026-02-21 16:54:52 +00:00
api: deprecate isPunct too
See https://github.com/ziglang/zig/issues/8419#issuecomment-843719898
This commit is contained in:
parent
846dbf2745
commit
ee97fbc199
@ -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);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user