[MONGOCRYPT-453] Update API to indicate constness Created: 01/Jul/22  Updated: 25/Oct/22

Status: Backlog
Project: Libmongocrypt
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Unknown
Reporter: Abraham Egnor Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: techdebt
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

In developing the Rust wrappers for libmongocrypt, we ran into the issue that many functions take "morally const" arguments (mongocrypt_binary_t as input parameters, mongocrypt_ctx on accessor methods like mongocrypt_ctx_state, etc.). Ideally, those could reflect that quality by taking those arguments as const pointers; this would be a useful bit of additional inline documentation, and would allow us to be more confident in the safety of the Rust wrapper.


Generated at Thu Feb 08 09:08:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.