diff options
| author | amelia squires <[email protected]> | 2025-03-31 13:21:27 -0500 |
|---|---|---|
| committer | amelia squires <[email protected]> | 2025-03-31 13:21:27 -0500 |
| commit | b554d73eeabb96f23385b7b093d5609ff6105e99 (patch) | |
| tree | d1adb6a4e3cdf9ae3c11920ac98d4ed54bae8cca /library/lullaby/io.lua | |
| parent | 9f173bca86bdba7635d725772e349249fa890eee (diff) | |
type definitions
Diffstat (limited to 'library/lullaby/io.lua')
| -rw-r--r-- | library/lullaby/io.lua | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/library/lullaby/io.lua b/library/lullaby/io.lua new file mode 100644 index 0000000..4fb7768 --- /dev/null +++ b/library/lullaby/io.lua @@ -0,0 +1,40 @@ +---@meta + +---@class io +local io = {} + +---print a string with a "pretty" log header +---@param value string value to print +---@return nil +function io.log(value) end + +---print a string with a "pretty" warning header +---@param value string value to print +---@return nil +function io.warn(value) end + +---print a string with a "pretty" error header +---@param value string value to print +---@return nil +function io.error(value) end + +---print a string with a "pretty" debug header +---@param value string value to print +---@return nil +function io.debug(value) end + +---prints any value, expanding tables +---@param value any value to print +---@return nil +function io.pprint(value) end + +---@deprecated +function io.readfile() end + +---@deprecated +function io.json_parse() end + +---@deprecated +function io.arg_handle() end + +return io |
