aboutsummaryrefslogtreecommitdiff
path: root/core/encoding/entity/entity.odin
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2022-07-11 11:50:08 +0100
committergingerBill <bill@gingerbill.org>2022-07-11 11:50:08 +0100
commitc90b7c38f1a54e1f6bc144bea76b976f7c126644 (patch)
tree57e3ec8abb9260b0fd6a39123440632871381a62 /core/encoding/entity/entity.odin
parent9e376fbda75970b6cafa229873bfe8113da251d6 (diff)
Rename strings.Builder procedures to be consistent with the rest of the core library
Diffstat (limited to 'core/encoding/entity/entity.odin')
-rw-r--r--core/encoding/entity/entity.odin8
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