mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-28 09:19:53 +00:00
Let MIB compiler generate const structs, too (see last commit)
This commit is contained in:
parent
24bc77a935
commit
cf3d7def33
@ -119,7 +119,7 @@ namespace LwipSnmpCodeGeneration
|
||||
}
|
||||
|
||||
VariableDeclaration subnodeArray = new VariableDeclaration(
|
||||
new VariableType(this.Name + "_subnodes", LwipDefs.Vt_StNode, "*", ConstType.Value, String.Empty),
|
||||
new VariableType(this.Name + "_subnodes", LwipDefs.Vt_StNode, "*", ConstType.Both, String.Empty),
|
||||
"{\n" + subnodeArrayInitialization + "\n}",
|
||||
isStatic: true);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user