Skip to content

Commit

Permalink
docs: documented ARCH global.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgmdev committed Sep 22, 2022
1 parent 4546ce1 commit a471350
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/api/globals.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
---@type table<integer, string>
ARGS = {}

---The current platform tuple used for native modules loading,
---for example: "x86_64-linux", "x86_64-darwin", "x86_64-windows", etc...
---@type string
ARCH = "Architecture-OperatingSystem"

---The current operating system.
---@type string | "'Windows'" | "'Mac OS X'" | "'Linux'" | "'iOS'" | "'Android'"
PLATFORM = "Operating System"
Expand Down

0 comments on commit a471350

Please sign in to comment.