docs: small fixes (#26243)

Co-authored-by: umlx5h <umlx5h21@protonmail.com>
Co-authored-by: Gregory Anders <greg@gpanders.com>
Co-authored-by: Evan Farrar <evan@evanfarrar.com>
This commit is contained in:
dundargoc
2023-12-06 01:04:21 +01:00
committed by GitHub
parent 06ff540e1c
commit cc38086039
10 changed files with 15 additions and 14 deletions

View File

@@ -212,7 +212,7 @@ local function cimport(...)
-- give each #pragma pack an unique id, so that they don't get removed
-- if they are inserted into the set
-- (they are needed in the right order with the struct definitions,
-- otherwise luajit has wrong memory layouts for the sturcts)
-- otherwise luajit has wrong memory layouts for the structs)
if line:match('#pragma%s+pack') then
--- @type string
line = line .. ' // ' .. pragma_pack_id