doc fixes
This commit is contained in:
parent
55d33c33d9
commit
2b3baef8f9
@ -33,6 +33,8 @@ local positive_nan = negative_nan ^ 1
|
||||
-- (example needed)
|
||||
-- @function write_byte
|
||||
|
||||
--- functions
|
||||
-- @section functions
|
||||
|
||||
--- read an IEEE 754 single precision (32-bit) floating point number
|
||||
-- @function read_single
|
||||
|
@ -28,6 +28,7 @@ end
|
||||
local mod_info
|
||||
--- gets mod info
|
||||
-- @return table containing all mods and their `description`, `depends`, `optional_depends`, and `name`. This table will throw an error if attempts are made to edit its contents.
|
||||
-- @function get_mod_info
|
||||
function leef.utils.get_mod_info()
|
||||
if mod_info then return mod_info end
|
||||
mod_info = {}
|
||||
@ -86,6 +87,7 @@ end
|
||||
|
||||
--- get the load order of mods and their status
|
||||
-- @treturn list of tables which contains `status = "loaded" | loading`, and inherits all other fields from the tables returned in `get_mod_info()`. This can be edited.
|
||||
-- @function get_mod_load_order
|
||||
function leef.utils.get_mod_load_order()
|
||||
local mod_load_order = {}
|
||||
local mod_info = leef.utils.get_mod_info()
|
||||
|
Loading…
x
Reference in New Issue
Block a user