Merge pull request #139 from tundra/develop

Pass options correctly through from_bytes to FlatArrayMessageReader
This commit is contained in:
Jason Paryani
2017-04-09 17:11:21 -07:00
committed by GitHub
2 changed files with 26 additions and 1 deletions

View File

@@ -3761,7 +3761,9 @@ cdef class _FlatArrayMessageReader(_MessageReader):
else:
self._object_to_pin = buf
self.thisptr = new schema_cpp.FlatArrayMessageReader(schema_cpp.WordArrayPtr(<schema_cpp.word*>ptr, sz//8))
self.thisptr = new schema_cpp.FlatArrayMessageReader(
schema_cpp.WordArrayPtr(<schema_cpp.word*>ptr, sz//8),
opts)
def __dealloc__(self):
del self.thisptr