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

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

Issue 728133002: Update mojo sdk to rev e01f9a49449381a5eb430c1fd88bf2cae73ec35a (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: android + ios gyp fixes 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