Documented with EmmyLua the C API using .lua interface files.

This commit is contained in:
jgmdev
2021-06-25 02:25:05 -04:00
parent 88704c6ecb
commit bd50401687
5 changed files with 652 additions and 0 deletions
+21
View File
@@ -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"