Update to add padding at the end of structs.
authorbdemsky <bdemsky>
Tue, 13 Jul 2004 18:53:05 +0000 (18:53 +0000)
committerbdemsky <bdemsky>
Tue, 13 Jul 2004 18:53:05 +0000 (18:53 +0000)
Repair/RepairCompiler/structextract/dumpstructures.c

index bfcc596..4df6b59 100755 (executable)
@@ -183,6 +183,8 @@ void initializeTypeArray()
              printf("   %s %s%s;\n",typestr,name,poststr);
            }
          }
+         if (offset<collection_ptr->byte_size)
+           printf("   reserved byte[%ld];\n",collection_ptr->byte_size-offset);
          printf("}\n\n");
         }
     }