diff --git a/binary.lua b/binary.lua index 4759bb6..519cc80 100644 --- a/binary.lua +++ b/binary.lua @@ -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 diff --git a/mod_utils.lua b/mod_utils.lua index d3958e7..8fc176c 100644 --- a/mod_utils.lua +++ b/mod_utils.lua @@ -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()