mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
add Str.toBytes
This commit is contained in:
parent
bcbef5d3aa
commit
9116e9e8c9
10 changed files with 73 additions and 2 deletions
|
@ -68,6 +68,7 @@ comptime {
|
|||
exportStrFn(str.strFromFloatC, "from_float");
|
||||
exportStrFn(str.strEqual, "equal");
|
||||
exportStrFn(str.validateUtf8Bytes, "validate_utf8_bytes");
|
||||
exportStrFn(str.strToBytesC, "to_bytes");
|
||||
}
|
||||
|
||||
// Export helpers - Must be run inside a comptime
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue