aboutsummaryrefslogtreecommitdiff
path: root/python/tosa/Version.py
diff options
context:
space:
mode:
authorEric Kunze <eric.kunze@arm.com>2022-06-09 21:27:36 +0000
committerEric Kunze <eric.kunze@arm.com>2022-06-13 15:22:10 +0000
commite659640eeb35a48f16d84825b335580368ec06f1 (patch)
tree67efbf6b8a6560c9ecb2426792ec243cc54e809b /python/tosa/Version.py
parentae906de847e225cd0ae44f25bb21fc228707bc4d (diff)
downloadserialization_lib-e659640eeb35a48f16d84825b335580368ec06f1.tar.gz
Increment version to 0.25
Also insert the TOSA file identifier in the flatbuffer. Reports a warning if the identifier is not present when loading. Signed-off-by: Eric Kunze <eric.kunze@arm.com> Change-Id: I1cd4a9cc78e898ba5015e29be1c65cb640dd6a00
Diffstat (limited to 'python/tosa/Version.py')
-rw-r--r--python/tosa/Version.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/tosa/Version.py b/python/tosa/Version.py
index 95df414..27dea53 100644
--- a/python/tosa/Version.py
+++ b/python/tosa/Version.py
@@ -36,7 +36,7 @@ class Version(object):
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(6))
if o != 0:
return self._tab.Get(flatbuffers.number_types.Int32Flags, o + self._tab.Pos)
- return 24
+ return 25
# Version
def _patch(self):
@@ -54,7 +54,7 @@ class Version(object):
def VersionStart(builder): builder.StartObject(4)
def VersionAdd_major(builder, Major): builder.PrependInt32Slot(0, Major, 0)
-def VersionAdd_minor(builder, Minor): builder.PrependInt32Slot(1, Minor, 24)
+def VersionAdd_minor(builder, Minor): builder.PrependInt32Slot(1, Minor, 25)
def VersionAdd_patch(builder, Patch): builder.PrependInt32Slot(2, Patch, 0)
def VersionAdd_draft(builder, Draft): builder.PrependBoolSlot(3, Draft, 1)
def VersionEnd(builder): return builder.EndObject()