applied struct parameter fix to Go and Python generated classes

This commit is contained in:
Maor Itzkovitch
2015-07-13 22:53:59 +03:00
parent 147fbb4285
commit c23c620d26
5 changed files with 12 additions and 12 deletions

View File

@@ -27,13 +27,13 @@ class Vec3(object):
return obj
def CreateVec3(builder, x, y, z, test1, test2, Test_a, Test_b):
def CreateVec3(builder, x, y, z, test1, test2, test3_a, test3_b):
builder.Prep(16, 32)
builder.Pad(2)
builder.Prep(2, 4)
builder.Pad(1)
builder.PrependInt8(Test_b)
builder.PrependInt16(Test_a)
builder.PrependInt8(test3_b)
builder.PrependInt16(test3_a)
builder.Pad(1)
builder.PrependInt8(test2)
builder.PrependFloat64(test1)