Beispiel #1
0
 private void WritePaddingEnd()
 {
     if (this.NeedsPadding())
     {
         this._writer.EndBlock(true);
         object[] args = new object[] { Naming.ForPadding(this._type), this._type.ClassSize };
         this._writer.WriteLine("uint8_t {0}[{1}];", args);
         this._writer.EndBlock(true);
     }
 }