Xuanwo commented on PR #9315:
URL: https://github.com/apache/opendal/pull/9315#issuecomment-7234603733

   *AI-generated reply.*
   
   @chitralverma, please keep `opendal_capability`, its explicit 98-field 
order, and the existing C/Go CI checks in this PR, as agreed in 
[#9264](https://github.com/apache/opendal/issues/9264#issuecomment-7217093607). 
That preserves the meaning of positional initializers when callers recompile. 
Switching to one accessor per capability would replace a public C struct and 
require Go and Zig callers to migrate. That API decision can be made separately.
   
   Yes, please clarify the future size caveat in the C and Go upgrade notes. 
Appending a field can increase `sizeof(opendal_capability)`. Since the getter 
writes the whole struct into caller-provided storage, a caller built with an 
older header may allocate too little space. C and Zig consumers need a matching 
`opendal.h` and `libopendal_c`, and Go users need to upgrade the binding 
together with the `opendal-go-services` companions they use.


-- 
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]

Reply via email to