mirror of
https://github.com/FabInfra/capnproto-dotnetcore_Runtime.git
synced 2025-03-14 15:51:43 +01:00
Add TypeId const member to structs.
This commit is contained in:
parent
64203d1638
commit
056a5101ff
File diff suppressed because it is too large
Load Diff
@ -71,6 +71,8 @@
|
|||||||
.AddConstraintClauses(MakeTypeParameterConstraints(def).ToArray());
|
.AddConstraintClauses(MakeTypeParameterConstraints(def).ToArray());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
topDecl = topDecl.AddMembers(CommonSnippetGen.MakeTypeIdConst(def.Id, _names));
|
||||||
|
|
||||||
if (def.UnionInfo != null)
|
if (def.UnionInfo != null)
|
||||||
{
|
{
|
||||||
topDecl = topDecl.AddMembers(_commonGen.MakeUnionSelectorEnum(def));
|
topDecl = topDecl.AddMembers(_commonGen.MakeUnionSelectorEnum(def));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user