summaryrefslogtreecommitdiff
path: root/tests/MyGame
diff options
context:
space:
mode:
authorMaor Itzkovitch <maor.tt@gmail.com>2015-07-13 20:00:48 +0300
committerMaor Itzkovitch <maor.tt@gmail.com>2015-07-13 20:00:48 +0300
commit147fbb42852570db1ace0725c6664b24e480f504 (patch)
tree5838cedf668b41e96a36dd5551eb059e2c23c7f9 /tests/MyGame
parenta9ae9bdcabc1d8e28a833f55e26d77a37b148922 (diff)
downloadflatbuffers-147fbb42852570db1ace0725c6664b24e480f504.tar.gz
flatbuffers-147fbb42852570db1ace0725c6664b24e480f504.tar.bz2
flatbuffers-147fbb42852570db1ace0725c6664b24e480f504.zip
builder.put statements now use correct argument names
Diffstat (limited to 'tests/MyGame')
-rw-r--r--tests/MyGame/Example/Vec3.cs6
-rw-r--r--tests/MyGame/Example/Vec3.java6
2 files changed, 6 insertions, 6 deletions
diff --git a/tests/MyGame/Example/Vec3.cs b/tests/MyGame/Example/Vec3.cs
index 82061180..732f2d65 100644
--- a/tests/MyGame/Example/Vec3.cs
+++ b/tests/MyGame/Example/Vec3.cs
@@ -16,13 +16,13 @@ public sealed class Vec3 : Struct {
public Test Test3 { get { return GetTest3(new Test()); } }
public Test GetTest3(Test obj) { return obj.__init(bb_pos + 26, bb); }
- public static int CreateVec3(FlatBufferBuilder builder, float X, float Y, float Z, double Test1, Color Test2, short Test_A, sbyte Test_B) {
+ public static int CreateVec3(FlatBufferBuilder builder, float X, float Y, float Z, double Test1, Color Test2, short test3_A, sbyte test3_B) {
builder.Prep(16, 32);
builder.Pad(2);
builder.Prep(2, 4);
builder.Pad(1);
- builder.PutSbyte(Test_B);
- builder.PutShort(Test_A);
+ builder.PutSbyte(test3_B);
+ builder.PutShort(test3_A);
builder.Pad(1);
builder.PutSbyte((sbyte)(Test2));
builder.PutDouble(Test1);
diff --git a/tests/MyGame/Example/Vec3.java b/tests/MyGame/Example/Vec3.java
index 77b56972..794eea1d 100644
--- a/tests/MyGame/Example/Vec3.java
+++ b/tests/MyGame/Example/Vec3.java
@@ -18,13 +18,13 @@ public final class Vec3 extends Struct {
public Test test3() { return test3(new Test()); }
public Test test3(Test obj) { return obj.__init(bb_pos + 26, bb); }
- public static int createVec3(FlatBufferBuilder builder, float x, float y, float z, double test1, byte test2, short Test_a, byte Test_b) {
+ public static int createVec3(FlatBufferBuilder builder, float x, float y, float z, double test1, byte test2, short test3_a, byte test3_b) {
builder.prep(16, 32);
builder.pad(2);
builder.prep(2, 4);
builder.pad(1);
- builder.putByte(Test_b);
- builder.putShort(Test_a);
+ builder.putByte(test3_b);
+ builder.putShort(test3_a);
builder.pad(1);
builder.putByte(test2);
builder.putDouble(test1);