< prev index next >

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

Print this page

        

@@ -232,11 +232,11 @@
             if (!isBitfield && pendingBitfieldStart >= 0) {
                 //emit/replace bitfields
                 replaceBitfields(fieldLayouts, pendingBitfieldStart);
                 pendingBitfieldStart = -1;
             }
-            Layout fieldLayout = (c.isAnonymous()) ?
+            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 >