make fromUtf8 do RC

This commit is contained in:
Folkert 2021-02-24 21:25:14 +01:00
parent 17a44aab02
commit a6edc58323
8 changed files with 172 additions and 168 deletions

View file

@ -67,8 +67,8 @@ comptime {
exportStrFn(str.strFromIntC, "from_int");
exportStrFn(str.strFromFloatC, "from_float");
exportStrFn(str.strEqual, "equal");
exportStrFn(str.validateUtf8Bytes, "validate_utf8_bytes");
exportStrFn(str.strToBytesC, "to_bytes");
exportStrFn(str.fromUtf8C, "from_utf8");
}
// Export helpers - Must be run inside a comptime