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
676f0248
Commit
676f0248
authored
Apr 05, 2018
by
Wouter van Oortmerssen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added missing generated code files.
Change-Id: I59af6ca1825870461c0badc7e7a045b97befdc1a
parent
34b8b80f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
monster_test.bfbs
tests/monster_test.bfbs
+0
-0
namespace_test2_generated.ts
tests/namespace_test/namespace_test2_generated.ts
+10
-10
No files found.
tests/monster_test.bfbs
View file @
676f0248
No preview for this file type
tests/namespace_test/namespace_test2_generated.ts
View file @
676f0248
// automatically generated by the FlatBuffers compiler, do not modify
import
*
as
NS
39599748
from
"./namespace_test1_generated"
;
import
*
as
NS
9459827973991502386
from
"./namespace_test1_generated"
;
/**
* @constructor
*/
...
...
@@ -39,24 +39,24 @@ static getRootAsTableInFirstNS(bb:flatbuffers.ByteBuffer, obj?:TableInFirstNS):T
* @param {NamespaceA.NamespaceB.TableInNestedNS=} obj
* @returns {NamespaceA.NamespaceB.TableInNestedNS|null}
*/
fooTable
(
obj
?:
NS
39599748
.
NamespaceA
.
NamespaceB
.
TableInNestedNS
):
NS39599748
.
NamespaceA
.
NamespaceB
.
TableInNestedNS
|
null
{
fooTable
(
obj
?:
NS
9459827973991502386
.
NamespaceA
.
NamespaceB
.
TableInNestedNS
):
NS9459827973991502386
.
NamespaceA
.
NamespaceB
.
TableInNestedNS
|
null
{
var
offset
=
this
.
bb
!
.
__offset
(
this
.
bb_pos
,
4
);
return
offset
?
(
obj
||
new
NS
39599748
.
NamespaceA
.
NamespaceB
.
TableInNestedNS
).
__init
(
this
.
bb
!
.
__indirect
(
this
.
bb_pos
+
offset
),
this
.
bb
!
)
:
null
;
return
offset
?
(
obj
||
new
NS
9459827973991502386
.
NamespaceA
.
NamespaceB
.
TableInNestedNS
).
__init
(
this
.
bb
!
.
__indirect
(
this
.
bb_pos
+
offset
),
this
.
bb
!
)
:
null
;
};
/**
* @returns {NamespaceA.NamespaceB.EnumInNestedNS}
*/
fooEnum
():
NS
39599748
.
NamespaceA
.
NamespaceB
.
EnumInNestedNS
{
fooEnum
():
NS
9459827973991502386
.
NamespaceA
.
NamespaceB
.
EnumInNestedNS
{
var
offset
=
this
.
bb
!
.
__offset
(
this
.
bb_pos
,
6
);
return
offset
?
/** @type {NamespaceA.NamespaceB.EnumInNestedNS} */
(
this
.
bb
!
.
readInt8
(
this
.
bb_pos
+
offset
))
:
NS
39599748
.
NamespaceA
.
NamespaceB
.
EnumInNestedNS
.
A
;
return
offset
?
/** @type {NamespaceA.NamespaceB.EnumInNestedNS} */
(
this
.
bb
!
.
readInt8
(
this
.
bb_pos
+
offset
))
:
NS
9459827973991502386
.
NamespaceA
.
NamespaceB
.
EnumInNestedNS
.
A
;
};
/**
* @param {NamespaceA.NamespaceB.EnumInNestedNS} value
* @returns {boolean}
*/
mutate_foo_enum
(
value
:
NS
39599748
.
NamespaceA
.
NamespaceB
.
EnumInNestedNS
):
boolean
{
mutate_foo_enum
(
value
:
NS
9459827973991502386
.
NamespaceA
.
NamespaceB
.
EnumInNestedNS
):
boolean
{
var
offset
=
this
.
bb
!
.
__offset
(
this
.
bb_pos
,
6
);
if
(
offset
===
0
)
{
...
...
@@ -71,9 +71,9 @@ mutate_foo_enum(value:NS39599748.NamespaceA.NamespaceB.EnumInNestedNS):boolean {
* @param {NamespaceA.NamespaceB.StructInNestedNS=} obj
* @returns {NamespaceA.NamespaceB.StructInNestedNS|null}
*/
fooStruct
(
obj
?:
NS
39599748
.
NamespaceA
.
NamespaceB
.
StructInNestedNS
):
NS39599748
.
NamespaceA
.
NamespaceB
.
StructInNestedNS
|
null
{
fooStruct
(
obj
?:
NS
9459827973991502386
.
NamespaceA
.
NamespaceB
.
StructInNestedNS
):
NS9459827973991502386
.
NamespaceA
.
NamespaceB
.
StructInNestedNS
|
null
{
var
offset
=
this
.
bb
!
.
__offset
(
this
.
bb_pos
,
8
);
return
offset
?
(
obj
||
new
NS
39599748
.
NamespaceA
.
NamespaceB
.
StructInNestedNS
).
__init
(
this
.
bb_pos
+
offset
,
this
.
bb
!
)
:
null
;
return
offset
?
(
obj
||
new
NS
9459827973991502386
.
NamespaceA
.
NamespaceB
.
StructInNestedNS
).
__init
(
this
.
bb_pos
+
offset
,
this
.
bb
!
)
:
null
;
};
/**
...
...
@@ -95,8 +95,8 @@ static addFooTable(builder:flatbuffers.Builder, fooTableOffset:flatbuffers.Offse
* @param {flatbuffers.Builder} builder
* @param {NamespaceA.NamespaceB.EnumInNestedNS} fooEnum
*/
static
addFooEnum
(
builder
:
flatbuffers
.
Builder
,
fooEnum
:
NS
39599748
.
NamespaceA
.
NamespaceB
.
EnumInNestedNS
)
{
builder
.
addFieldInt8
(
1
,
fooEnum
,
NS
39599748
.
NamespaceA
.
NamespaceB
.
EnumInNestedNS
.
A
);
static
addFooEnum
(
builder
:
flatbuffers
.
Builder
,
fooEnum
:
NS
9459827973991502386
.
NamespaceA
.
NamespaceB
.
EnumInNestedNS
)
{
builder
.
addFieldInt8
(
1
,
fooEnum
,
NS
9459827973991502386
.
NamespaceA
.
NamespaceB
.
EnumInNestedNS
.
A
);
};
/**
...
...
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