mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-07 05:47:36 +00:00
Make Monster's Color unsigned (#5318)
- update C++ monster_test::Color to unsigned type - update Go Color:ubyte in the go_test.go - add workaround for unsigned enum in java test - sync generate.bat and generate.sh
This commit is contained in:
committed by
Wouter van Oortmerssen
parent
b701c7d56e
commit
f9ebfcb9c4
@@ -55,11 +55,11 @@ class Vec3 extends Struct
|
||||
}
|
||||
|
||||
/**
|
||||
* @return sbyte
|
||||
* @return byte
|
||||
*/
|
||||
public function GetTest2()
|
||||
{
|
||||
return $this->bb->getSbyte($this->bb_pos + 24);
|
||||
return $this->bb->getByte($this->bb_pos + 24);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -85,7 +85,7 @@ class Vec3 extends Struct
|
||||
$builder->putSbyte($test3_b);
|
||||
$builder->putShort($test3_a);
|
||||
$builder->pad(1);
|
||||
$builder->putSbyte($test2);
|
||||
$builder->putByte($test2);
|
||||
$builder->putDouble($test1);
|
||||
$builder->pad(4);
|
||||
$builder->putFloat($z);
|
||||
|
||||
Reference in New Issue
Block a user