Fix for build break in c# vector of unions (#5271)

This commit is contained in:
Kamil Rojewski
2019-04-05 20:49:12 +02:00
committed by Wouter van Oortmerssen
parent 5cdbd02404
commit 2d67de3151
6 changed files with 8 additions and 3 deletions

View File

@@ -13,6 +13,7 @@ public struct Rapunzel : IFlatbufferObject
public Rapunzel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
public int HairLength { get { return __p.bb.GetInt(__p.bb_pos + 0); } }
public void MutateHairLength(int hair_length) { __p.bb.PutInt(__p.bb_pos + 0, hair_length); }
public static Offset<Rapunzel> CreateRapunzel(FlatBufferBuilder builder, int HairLength) {
builder.Prep(4, 4);