First commit, step 4 completed

This commit is contained in:
bepis
2026-10-15 14:27:00 +11:00
commit 9a30efa170
5378 changed files with 1136719 additions and 0 deletions
@@ -0,0 +1,29 @@
---@meta _
---[Documentation](https://www.wowace.com/projects/libstub)
LibStub = {}
---@generic T
---@param major `T`
---@param minor number
---@return table|T library
---@return number? oldMinor
function LibStub:NewLibrary(major, minor) end
---@generic T
---@param major `T`
---@param silent? boolean
---@return table|T library
function LibStub:GetLibrary(major, silent) end
---@return function iter
---@return table invariant
function LibStub:IterateLibraries() end
-- not sure how to annotate this
--setmetatable(LibStub, { __call = LibStub.GetLibrary })
---@generic T
---@param major `T`
---@param silent? boolean
---@return table|T library
function LibStub(major, silent) end