diff options
| author | mlugg <mlugg@mlugg.co.uk> | 2025-09-02 12:31:40 +0100 |
|---|---|---|
| committer | mlugg <mlugg@mlugg.co.uk> | 2025-09-30 13:44:49 +0100 |
| commit | 89d862180f1d032b36e8d4371a037ae018bc43c5 (patch) | |
| tree | 3c21e0203fb7d4a2a181a1c8fcda53812c1aaa56 /lib/std/macho.zig | |
| parent | fb88dab4c9c7d89ec7b5842dafdefe93ed939b3c (diff) | |
| download | zig-89d862180f1d032b36e8d4371a037ae018bc43c5.tar.gz zig-89d862180f1d032b36e8d4371a037ae018bc43c5.zip | |
yet more
Diffstat (limited to 'lib/std/macho.zig')
| -rw-r--r-- | lib/std/macho.zig | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/lib/std/macho.zig b/lib/std/macho.zig index 0ce1f4c7ff..4ebb0cabd8 100644 --- a/lib/std/macho.zig +++ b/lib/std/macho.zig @@ -906,43 +906,6 @@ pub const nlist_64 = extern struct { }, n_value: u64, - // MLUGG TODO DELETE - pub fn stab(sym: nlist_64) bool { - return sym.n_type.bits.is_stab != 0; - } - // MLUGG TODO DELETE - pub fn sect(sym: nlist_64) bool { - return sym.n_type.type == .sect; - } - // MLUGG TODO DELETE - pub fn undf(sym: nlist_64) bool { - return sym.n_type.type == .undf; - } - // MLUGG TODO DELETE - pub fn indr(sym: nlist_64) bool { - return sym.n_type.type == .indr; - } - // MLUGG TODO DELETE - pub fn abs(sym: nlist_64) bool { - return sym.n_type.type == .abs; - } - // MLUGG TODO DELETE - pub fn weakDef(sym: nlist_64) bool { - return sym.n_desc.weak_def_or_ref_to_weak; - } - // MLUGG TODO DELETE - pub fn weakRef(sym: nlist_64) bool { - return sym.n_desc.weak_ref; - } - // MLUGG TODO DELETE - pub fn discarded(sym: nlist_64) bool { - return sym.n_desc.discarded_or_no_dead_strip; - } - // MLUGG TODO DELETE - pub fn noDeadStrip(sym: nlist_64) bool { - return sym.n_desc.discarded_or_no_dead_strip; - } - pub fn tentative(sym: nlist_64) bool { return sym.n_type.type == .undf and sym.n_value != 0; } |
