doc fixes

This commit is contained in:
FatalErr42O 2024-12-23 13:08:27 -08:00
parent 55d33c33d9
commit 2b3baef8f9
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -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()