< prev index next >

src/jdk.jextract/share/classes/com/sun/tools/jextract/tree/LayoutUtils.java

Print this page

        

*** 232,242 **** if (!isBitfield && pendingBitfieldStart >= 0) { //emit/replace bitfields replaceBitfields(fieldLayouts, pendingBitfieldStart); pendingBitfieldStart = -1; } ! Layout fieldLayout = (c.isAnonymous()) ? getRecordLayoutInternal(offset, parent, c.type(), fieldMapper) : fieldLayout(isUnion, c, fieldMapper); fieldLayouts.add(fieldLayout); long size = fieldSize(isUnion, c); if (isUnion) { --- 232,242 ---- if (!isBitfield && pendingBitfieldStart >= 0) { //emit/replace bitfields replaceBitfields(fieldLayouts, pendingBitfieldStart); pendingBitfieldStart = -1; } ! Layout fieldLayout = (c.isAnonymousStruct()) ? getRecordLayoutInternal(offset, parent, c.type(), fieldMapper) : fieldLayout(isUnion, c, fieldMapper); fieldLayouts.add(fieldLayout); long size = fieldSize(isUnion, c); if (isUnion) {
< prev index next >