You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by "Ji-Xinyou (via GitHub)" <gi...@apache.org> on 2023/04/05 17:06:13 UTC

[GitHub] [incubator-opendal] Ji-Xinyou commented on pull request #1861: feat(bindings/c): framework of add basic io and init logics

Ji-Xinyou commented on PR #1861:
URL: https://github.com/apache/incubator-opendal/pull/1861#issuecomment-1497839062

   Also, I would appreciate it if anyone can share some ideas on the construction of hashmap used to construct operator, since cbindgen does not support HashMap.
   
   Storing it by pointer is obviously not 100% safe since the hashmap might be reallocated upon insertion and deletion. But IMO that might be acceptable since the map will only be used to construct operator.
   
   I have another idea might be better, which is it could accept a sequence of Key-Value pairs separately in the argument and construct the hashmap in our Rust code.


-- 
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: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org