Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1243)

Unified Diff: mojo/public/python/mojo/bindings/serialization.py

Issue 728553002: Update mojo sdk to rev afb4440fd5a10cba980878c326180b7ad7960480 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/public/python/mojo/bindings/messaging.py ('k') | mojo/public/python/mojo/c_core.pxd » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/python/mojo/bindings/serialization.py
diff --git a/mojo/public/python/mojo/bindings/serialization.py b/mojo/public/python/mojo/bindings/serialization.py
index 9a4b6a9bafbd781e70d47a14a540dc69de1ff4f5..2c0478f0408bee09094ecd8d51ed1b9ca472ce58 100644
--- a/mojo/public/python/mojo/bindings/serialization.py
+++ b/mojo/public/python/mojo/bindings/serialization.py
@@ -8,7 +8,7 @@ import struct
# Format of a header for a struct or an array.
-HEADER_STRUCT = struct.Struct("=II")
+HEADER_STRUCT = struct.Struct("<II")
class SerializationException(Exception):
@@ -110,7 +110,7 @@ def _FilterGroups(groups, version):
def _GetStruct(groups):
index = 0
- codes = [ '=' ]
+ codes = [ '<' ]
for group in groups:
code = group.GetTypeCode()
size = group.GetByteSize()
« no previous file with comments | « mojo/public/python/mojo/bindings/messaging.py ('k') | mojo/public/python/mojo/c_core.pxd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698