mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 15:18:49 +00:00
Fix import paths
This commit is contained in:
@@ -1,5 +1,8 @@
|
|||||||
package strings
|
package strings
|
||||||
|
|
||||||
|
import "core:unicode"
|
||||||
|
import "core:unicode/utf8"
|
||||||
|
|
||||||
to_valid_utf8 :: proc(s, replacement: string, allocator := context.allocator) -> string {
|
to_valid_utf8 :: proc(s, replacement: string, allocator := context.allocator) -> string {
|
||||||
if len(s) == 0 {
|
if len(s) == 0 {
|
||||||
return "";
|
return "";
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
package strings
|
package strings
|
||||||
|
|
||||||
import "core:mem"
|
import "core:mem"
|
||||||
import "core:unicode"
|
|
||||||
import "core:unicode/utf8"
|
import "core:unicode/utf8"
|
||||||
|
|
||||||
clone :: proc(s: string, allocator := context.allocator, loc := #caller_location) -> string {
|
clone :: proc(s: string, allocator := context.allocator, loc := #caller_location) -> string {
|
||||||
|
|||||||
Reference in New Issue
Block a user