docs
This commit is contained in:
parent
4d9a0500d4
commit
25dc82176b
|
@ -11,6 +11,7 @@ public class BaseCHeaderConsumer implements ConfigurationConsumer {
|
|||
private static String getHeaderText(FieldIteratorWithOffset iterator) {
|
||||
ConfigField configField = iterator.cf;
|
||||
if (configField.isBit()) {
|
||||
// unused bits are needed for proper struct memsize
|
||||
String comment = "\t/**" + EOL + packComment(configField.getCommentContent(), "\t") + "\toffset " + iterator.currentOffset + " bit " + iterator.bitState.get() + " */" + EOL;
|
||||
return comment + "\t" + BOOLEAN_TYPE + " " + configField.getName() + " : 1 {};" + EOL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue