projects
/
repair.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35a7aa0
)
Update to add padding at the end of structs.
author
bdemsky
<bdemsky>
Tue, 13 Jul 2004 18:53:05 +0000
(18:53 +0000)
committer
bdemsky
<bdemsky>
Tue, 13 Jul 2004 18:53:05 +0000
(18:53 +0000)
Repair/RepairCompiler/structextract/dumpstructures.c
patch
|
blob
|
history
diff --git
a/Repair/RepairCompiler/structextract/dumpstructures.c
b/Repair/RepairCompiler/structextract/dumpstructures.c
index bfcc596365af9a711489a4611466d46a55cd6c09..4df6b59b753e4c165640e507802bbf97cebf5ae7 100755
(executable)
--- a/
Repair/RepairCompiler/structextract/dumpstructures.c
+++ b/
Repair/RepairCompiler/structextract/dumpstructures.c
@@
-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");
}
}