summaryrefslogtreecommitdiff
path: root/xmake/core/base/queue.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/core/base/queue.lua')
-rw-r--r--xmake/core/base/queue.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/xmake/core/base/queue.lua b/xmake/core/base/queue.lua
index e5b6980d1..e7f306c11 100644
--- a/xmake/core/base/queue.lua
+++ b/xmake/core/base/queue.lua
@@ -116,7 +116,10 @@ function queue:clone()
return q
end
--- new queue
+-- create a new FIFO queue
+--
+-- @return the queue instance
+--
function queue.new()
return queue()
end