mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 06:44:46 +00:00
Add zig function to check if bytes are valid unicode
This commit is contained in:
parent
c2a355ab4b
commit
8d73fcda7f
3 changed files with 47 additions and 2 deletions
|
@ -25,6 +25,7 @@ comptime {
|
|||
exportStrFn(str.strNumberOfBytes, "number_of_bytes");
|
||||
exportStrFn(str.strFromIntC, "from_int");
|
||||
exportStrFn(str.strEqual, "equal");
|
||||
exportStrFn(str.isValidUnicode, "is_valid_unicode");
|
||||
}
|
||||
|
||||
// Export helpers - Must be run inside a comptime
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue