mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-16 01:07:29 +00:00
Optionally generate type prefixes and suffixes for python code (#7857)
* optionally generate type prefixes and suffixes for python code * fix codegen error when qualified name is empty * generated code updated
This commit is contained in:
@@ -28,13 +28,19 @@ class InParentNamespace(object):
|
||||
def Init(self, buf, pos):
|
||||
self._tab = flatbuffers.table.Table(buf, pos)
|
||||
|
||||
def InParentNamespaceStart(builder): builder.StartObject(0)
|
||||
def InParentNamespaceStart(builder):
|
||||
return builder.StartObject(0)
|
||||
|
||||
def Start(builder):
|
||||
return InParentNamespaceStart(builder)
|
||||
def InParentNamespaceEnd(builder): return builder.EndObject()
|
||||
|
||||
def InParentNamespaceEnd(builder):
|
||||
return builder.EndObject()
|
||||
|
||||
def End(builder):
|
||||
return InParentNamespaceEnd(builder)
|
||||
|
||||
|
||||
class InParentNamespaceT(object):
|
||||
|
||||
# InParentNamespaceT
|
||||
|
||||
Reference in New Issue
Block a user