X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flibpspp%2Fstr.h;h=aaf83d71a448fcb9e429a165d92fa617ffbfd8fc;hb=61cb03a73ff9f5d38e9728d4bf5a449212d3acdc;hp=8cde5779143773e5dd3aeb02d914a01a4740ae16;hpb=51acdebd6747816b6f955634e1bfcc9c8071b56d;p=pspp diff --git a/src/libpspp/str.h b/src/libpspp/str.h index 8cde577914..aaf83d71a4 100644 --- a/src/libpspp/str.h +++ b/src/libpspp/str.h @@ -150,6 +150,8 @@ int ss_first_mblen (struct substring); ucs4_t ss_get_mb (struct substring *); ucs4_t ss_at_mb (struct substring, size_t ofs); int ss_at_mblen (struct substring, size_t ofs); +size_t ss_utf8_count_columns (struct substring); +struct substring ss_utf8_columns (struct substring, size_t start, size_t n); /* Variable length strings. */