aboutsummaryrefslogtreecommitdiff
path: root/core/container/queue/queue.odin
diff options
context:
space:
mode:
authorFeoramund <161657516+Feoramund@users.noreply.github.com>2025-06-11 08:05:46 -0400
committerFeoramund <161657516+Feoramund@users.noreply.github.com>2025-06-11 11:55:30 -0400
commit81f57634820279443abb7cc4fd3465477201e167 (patch)
tree5681cdc2fbc532ebe7031ae9fb5a3cb861b58975 /core/container/queue/queue.odin
parent6cb84e467bd9ea4b7ebf36640a192fe6e3e00fd8 (diff)
container/queue: Add common aliases `enqueue` and `dequeue`
Diffstat (limited to 'core/container/queue/queue.odin')
-rw-r--r--core/container/queue/queue.odin2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/container/queue/queue.odin b/core/container/queue/queue.odin
index dd22a13d0..75b00d376 100644
--- a/core/container/queue/queue.odin
+++ b/core/container/queue/queue.odin
@@ -420,6 +420,8 @@ append_elem :: push_back
append_elems :: push_back_elems
push :: proc{push_back, push_back_elems}
append :: proc{push_back, push_back_elems}
+enqueue :: push_back
+dequeue :: pop_front
/*