api: deprecate isPunct too

See https://github.com/ziglang/zig/issues/8419#issuecomment-843719898
This commit is contained in:
r00ster91 2022-08-14 22:01:52 +02:00
parent 846dbf2745
commit ee97fbc199

View File

@ -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);
}