chaokunyang commented on code in PR #3216:
URL: https://github.com/apache/fory/pull/3216#discussion_r2730740190
##########
python/pyfory/collection.pxi:
##########
@@ -215,7 +215,7 @@ cdef class CollectionSerializer(Serializer):
if type(collection_) is list:
# Pass buffer size for bounds checking
bytes_read = Fory_PyInt64SequenceReadFromBuffer(
- collection_, buffer.c_buffer.get(), buffer.reader_index, len_,
buffer.size())
+ collection_, &buffer.c_buffer, buffer.reader_index, len_,
buffer.size())
Review Comment:
ditto, only pass buffer, do not pass buffer fields
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]