From 0905072b3ccfcb394b1dca2405a55cff4e2b9271 Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Fri, 20 Jan 2023 11:56:38 +0000 Subject: tons more renaming of stuff --- compiler_and_linker/unsorted/CMachine.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'compiler_and_linker/unsorted/CMachine.c') diff --git a/compiler_and_linker/unsorted/CMachine.c b/compiler_and_linker/unsorted/CMachine.c index eff2243..bfa7023 100644 --- a/compiler_and_linker/unsorted/CMachine.c +++ b/compiler_and_linker/unsorted/CMachine.c @@ -1268,26 +1268,26 @@ SInt32 CMach_StructLayoutBitfield(TypeBitfield *tbitfield, UInt32 qual) { if (!cmach_curbfsize) { cmach_structoffset += padding_at_start; - if (!tbitfield->unkB) + if (!tbitfield->bitlength) return cmach_structoffset; - cmach_curbfsize = tbitfield->unkB; + cmach_curbfsize = tbitfield->bitlength; cmach_curbfbasesize = basesize; cmach_curbfoffset = cmach_structoffset; cmach_structoffset += basesize; - tbitfield->unkA = 0; + tbitfield->offset = 0; return cmach_curbfoffset; } else { - if (!tbitfield->unkB || (cmach_curbfsize + tbitfield->unkB) > basesize_bits || cmach_curbfbasesize != basesize) { + if (!tbitfield->bitlength || (cmach_curbfsize + tbitfield->bitlength) > basesize_bits || cmach_curbfbasesize != basesize) { cmach_structoffset += padding_at_start; cmach_curbfsize = 0; cmach_curbfbasesize = basesize; - if (!tbitfield->unkB) + if (!tbitfield->bitlength) return cmach_structoffset; cmach_curbfoffset = cmach_structoffset; cmach_structoffset += basesize; } - tbitfield->unkA = cmach_curbfsize; - cmach_curbfsize += tbitfield->unkB; + tbitfield->offset = cmach_curbfsize; + cmach_curbfsize += tbitfield->bitlength; return cmach_curbfoffset; } } -- cgit v1.2.3