Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
flatbuffers
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
flatbuffers
Commits
ffddbdc7
Commit
ffddbdc7
authored
Aug 11, 2017
by
Wouter van Oortmerssen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added missing generated code.
Change-Id: I7201d6891f56094178656a76bf0f87cf36d12554
parent
46bb05d9
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
2 additions
and
21 deletions
+2
-21
Attacker.php
tests/union_vector/Attacker.php
+0
-2
BookReader.php
tests/union_vector/BookReader.php
+0
-2
Character.php
tests/union_vector/Character.php
+0
-2
Movie.php
tests/union_vector/Movie.php
+0
-2
Rapunzel.php
tests/union_vector/Rapunzel.php
+0
-2
union_vector_generated.js
tests/union_vector/union_vector_generated.js
+1
-1
union_vector_generated.ts
tests/union_vector/union_vector_generated.ts
+1
-10
No files found.
tests/union_vector/Attacker.php
View file @
ffddbdc7
<?php
<?php
// automatically generated by the FlatBuffers compiler, do not modify
// automatically generated by the FlatBuffers compiler, do not modify
namespace
;
use
\Google\FlatBuffers\Struct
;
use
\Google\FlatBuffers\Struct
;
use
\Google\FlatBuffers\Table
;
use
\Google\FlatBuffers\Table
;
use
\Google\FlatBuffers\ByteBuffer
;
use
\Google\FlatBuffers\ByteBuffer
;
...
...
tests/union_vector/BookReader.php
View file @
ffddbdc7
<?php
<?php
// automatically generated by the FlatBuffers compiler, do not modify
// automatically generated by the FlatBuffers compiler, do not modify
namespace
;
use
\Google\FlatBuffers\Struct
;
use
\Google\FlatBuffers\Struct
;
use
\Google\FlatBuffers\Table
;
use
\Google\FlatBuffers\Table
;
use
\Google\FlatBuffers\ByteBuffer
;
use
\Google\FlatBuffers\ByteBuffer
;
...
...
tests/union_vector/Character.php
View file @
ffddbdc7
<?php
<?php
// automatically generated by the FlatBuffers compiler, do not modify
// automatically generated by the FlatBuffers compiler, do not modify
namespace
;
class
Character
class
Character
{
{
const
NONE
=
0
;
const
NONE
=
0
;
...
...
tests/union_vector/Movie.php
View file @
ffddbdc7
<?php
<?php
// automatically generated by the FlatBuffers compiler, do not modify
// automatically generated by the FlatBuffers compiler, do not modify
namespace
;
use
\Google\FlatBuffers\Struct
;
use
\Google\FlatBuffers\Struct
;
use
\Google\FlatBuffers\Table
;
use
\Google\FlatBuffers\Table
;
use
\Google\FlatBuffers\ByteBuffer
;
use
\Google\FlatBuffers\ByteBuffer
;
...
...
tests/union_vector/Rapunzel.php
View file @
ffddbdc7
<?php
<?php
// automatically generated by the FlatBuffers compiler, do not modify
// automatically generated by the FlatBuffers compiler, do not modify
namespace
;
use
\Google\FlatBuffers\Struct
;
use
\Google\FlatBuffers\Struct
;
use
\Google\FlatBuffers\Table
;
use
\Google\FlatBuffers\Table
;
use
\Google\FlatBuffers\ByteBuffer
;
use
\Google\FlatBuffers\ByteBuffer
;
...
...
tests/union_vector/union_vector_generated.js
View file @
ffddbdc7
...
@@ -318,7 +318,7 @@ Movie.prototype.charactersTypeArray = function() {
...
@@ -318,7 +318,7 @@ Movie.prototype.charactersTypeArray = function() {
* @param {flatbuffers.Table=} obj
* @param {flatbuffers.Table=} obj
* @returns {?flatbuffers.Table}
* @returns {?flatbuffers.Table}
*/
*/
Movie
.
prototype
.
characters
=
function
(
index
)
{
Movie
.
prototype
.
characters
=
function
(
index
,
obj
)
{
var
offset
=
this
.
bb
.
__offset
(
this
.
bb_pos
,
10
);
var
offset
=
this
.
bb
.
__offset
(
this
.
bb_pos
,
10
);
return
offset
?
this
.
bb
.
__union
(
obj
,
this
.
bb
.
__vector
(
this
.
bb_pos
+
offset
)
+
index
*
4
)
:
null
;
return
offset
?
this
.
bb
.
__union
(
obj
,
this
.
bb
.
__vector
(
this
.
bb_pos
+
offset
)
+
index
*
4
)
:
null
;
};
};
...
...
tests/union_vector/union_vector_generated.ts
View file @
ffddbdc7
...
@@ -3,7 +3,6 @@
...
@@ -3,7 +3,6 @@
/**
/**
* @enum
* @enum
*/
*/
export
namespace
{
export
enum
Character
{
export
enum
Character
{
NONE
=
0
,
NONE
=
0
,
MuLan
=
1
,
MuLan
=
1
,
...
@@ -12,12 +11,11 @@ export enum Character{
...
@@ -12,12 +11,11 @@ export enum Character{
BookFan
=
4
,
BookFan
=
4
,
Other
=
5
,
Other
=
5
,
Unused
=
6
Unused
=
6
}
}
;
};
/**
/**
* @constructor
* @constructor
*/
*/
export
namespace
{
export
class
Attacker
{
export
class
Attacker
{
/**
/**
* @type {flatbuffers.ByteBuffer}
* @type {flatbuffers.ByteBuffer}
...
@@ -95,12 +93,10 @@ static endAttacker(builder:flatbuffers.Builder):flatbuffers.Offset {
...
@@ -95,12 +93,10 @@ static endAttacker(builder:flatbuffers.Builder):flatbuffers.Offset {
return
offset
;
return
offset
;
};
};
}
}
}
/**
/**
* @constructor
* @constructor
*/
*/
export
namespace
{
export
class
Rapunzel
{
export
class
Rapunzel
{
/**
/**
* @type {flatbuffers.ByteBuffer}
* @type {flatbuffers.ByteBuffer}
...
@@ -155,12 +151,10 @@ static createRapunzel(builder:flatbuffers.Builder, hair_length: number):flatbuff
...
@@ -155,12 +151,10 @@ static createRapunzel(builder:flatbuffers.Builder, hair_length: number):flatbuff
return
builder
.
offset
();
return
builder
.
offset
();
};
};
}
}
}
/**
/**
* @constructor
* @constructor
*/
*/
export
namespace
{
export
class
BookReader
{
export
class
BookReader
{
/**
/**
* @type {flatbuffers.ByteBuffer}
* @type {flatbuffers.ByteBuffer}
...
@@ -215,12 +209,10 @@ static createBookReader(builder:flatbuffers.Builder, books_read: number):flatbuf
...
@@ -215,12 +209,10 @@ static createBookReader(builder:flatbuffers.Builder, books_read: number):flatbuf
return
builder
.
offset
();
return
builder
.
offset
();
};
};
}
}
}
/**
/**
* @constructor
* @constructor
*/
*/
export
namespace
{
export
class
Movie
{
export
class
Movie
{
/**
/**
* @type {flatbuffers.ByteBuffer}
* @type {flatbuffers.ByteBuffer}
...
@@ -433,4 +425,3 @@ static finishMovieBuffer(builder:flatbuffers.Builder, offset:flatbuffers.Offset)
...
@@ -433,4 +425,3 @@ static finishMovieBuffer(builder:flatbuffers.Builder, offset:flatbuffers.Offset)
};
};
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment