Adding missing generated code from recent commits.

Also updated generated_code.sh to prevent this from happening in
the future.

Change-Id: Ib282e9b6c762a79d4b4e09bee06b14781cd2a4c1
This commit is contained in:
Wouter van Oortmerssen
2016-07-25 14:42:58 -07:00
parent f61f0449c7
commit f98870715a
14 changed files with 165 additions and 39 deletions

View File

@@ -7,6 +7,13 @@ import flatbuffers
class TableInNestedNS(object):
__slots__ = ['_tab']
@classmethod
def GetRootAsTableInNestedNS(cls, buf, offset):
n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset)
x = TableInNestedNS()
x.Init(buf, n + offset)
return x
# TableInNestedNS
def Init(self, buf, pos):
self._tab = flatbuffers.table.Table(buf, pos)