Documented with EmmyLua the C API using .lua interface files.
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
---@meta
|
||||
|
||||
---The command line arguments given to lite.
|
||||
---@type table<integer, string>
|
||||
ARGS = {}
|
||||
|
||||
---The current operating system.
|
||||
---@type string | "'Windows'" | "'Mac OS X'" | "'Linux'" | "'iOS'" | "'Android'"
|
||||
PLATFORM = "Operating System"
|
||||
|
||||
---The current text or ui scale.
|
||||
---@type number
|
||||
SCALE = 1.0
|
||||
|
||||
---Full path of lite executable.
|
||||
---@type string
|
||||
EXEFILE = "/path/to/lite"
|
||||
|
||||
---Path to the users home directory.
|
||||
---@type string
|
||||
HOME = "/path/to/user/dir"
|
||||
Reference in New Issue
Block a user