diff options
| author | gingerBill <bill@gingerbill.org> | 2022-07-14 11:56:13 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2022-07-14 11:56:13 +0100 |
| commit | 2ae5bf4395ce7070b1301f9bee2b60d461dd28fc (patch) | |
| tree | 2acb6b999a9e1e480991adc2ed7a802c67b89bc2 /core/encoding/entity/entity.odin | |
| parent | f28547cae1dbc009283e63250de0cdbde68543d7 (diff) | |
| parent | 5332705e3108c35889020b105d0b1f68b6d48644 (diff) | |
Merge branch 'master' of https://github.com/odin-lang/Odin
Diffstat (limited to 'core/encoding/entity/entity.odin')
| -rw-r--r-- | core/encoding/entity/entity.odin | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/encoding/entity/entity.odin b/core/encoding/entity/entity.odin index e5831a75f..694fcdffc 100644 --- a/core/encoding/entity/entity.odin +++ b/core/encoding/entity/entity.odin @@ -25,8 +25,8 @@ import "core:strings" MAX_RUNE_CODEPOINT :: int(unicode.MAX_RUNE) -write_rune :: strings.write_rune_builder -write_string :: strings.write_string_builder +write_rune :: strings.write_rune +write_string :: strings.write_string Error :: enum u8 { None = 0, @@ -94,8 +94,8 @@ decode_xml :: proc(input: string, options := XML_Decode_Options{}, allocator := l := len(input) if l == 0 { return "", .None } - builder := strings.make_builder() - defer strings.destroy_builder(&builder) + builder := strings.builder_make() + defer strings.builder_destroy(&builder) t := Tokenizer{src=input} in_data := false |