Xuanwo commented on code in PR #1892:
URL:
https://github.com/apache/incubator-opendal/pull/1892#discussion_r1161836907
##########
bindings/c/include/opendal.h:
##########
@@ -132,8 +134,7 @@ typedef const struct BlockingOperator *opendal_operator_ptr;
the reallocation of the Vector.
*/
typedef struct opendal_bytes {
- const uint8_t *data;
- uintptr_t len;
+ const struct Vec_u8 *v;
Review Comment:
Maybe we don't need to expose `Vec_u8` directly, a point and a length maybe
enough?
--
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]