Xuanwo commented on issue #7101:
URL: https://github.com/apache/opendal/issues/7101#issuecomment-3691578760

   > Is it better to encapsulate it into a function like parse_c_string(*const 
c_char) ?
   
   It might be, but I'm not a C expert. This code may be simple enough that it 
isn't worth a wrapper.
   
   > Or the panic is just expected here for the error will only happen when 
developing and won't happen in production, so ruin the whole program is the 
best choice here?
   
   Yes, this should not happen under any circumstances.


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