mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-01-29 00:32:51 +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(
|
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}",
|
"{\n" + subnodeArrayInitialization + "\n}",
|
||||||
isStatic: true);
|
isStatic: true);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user