diff options
Diffstat (limited to 'types/elf.d.lua')
| -rw-r--r-- | types/elf.d.lua | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/types/elf.d.lua b/types/elf.d.lua index 5e367b1..f5fb3a8 100644 --- a/types/elf.d.lua +++ b/types/elf.d.lua @@ -1,16 +1,17 @@ ---@meta -local elf = require("elf") +local ec = require("elf.constants") --- TODO keep in sync with mkelf:loadconfig() env. -Class = elf.Class -Endian = elf.Endian -Osabi = elf.Osabi -Type = elf.Type -Machine = elf.Machine -SegmentType = elf.SegmentType -SegmentFlags = elf.SegmentFlags -ELFVERSION = elf.VERSION +Class = ec.Class +Endian = ec.Endian +Osabi = ec.Osabi +Type = ec.Type +Machine = ec.Machine +SegmentType = ec.SegmentType +SegmentFlags = ec.SegmentFlags +SectionType = ec.SectionType +SectionFlags = ec.SectionFlags +ELFVERSION = ec.VERSION ---ELF header --[[ |
