aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2017-02-19 11:50:42 +0000
committerGinger Bill <bill@gingerbill.org>2017-02-19 11:50:42 +0000
commit3cec2550d9b15eb56b8dd1b42a30b9f47ace0b4c (patch)
treebe46857c9738764df840e621c1a371eb21105388 /core
parent758dd9ba16a2dc5b01ea131e83c06bf33c33f116 (diff)
`delete` for maps
Diffstat (limited to 'core')
-rw-r--r--core/_preload.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/_preload.odin b/core/_preload.odin
index 28cd761f4..fe8288bc6 100644
--- a/core/_preload.odin
+++ b/core/_preload.odin
@@ -633,7 +633,7 @@ __dynamic_map_add_entry :: proc(using h: __Map_Header, key: __Map_Key) -> int {
}
-__dynamic_map_remove :: proc(using h: __Map_Header, key: __Map_Key) {
+__dynamic_map_delete :: proc(using h: __Map_Header, key: __Map_Key) {
fr := __dynamic_map_find(h, key);
if fr.entry_index >= 0 {
__dynamic_map_erase(h, fr);