On every iteration, this macro returns the object key in a const char* variable. This means that, if the length of this key is required, one needs to call strlen on the key. Would it be possible to add a way to retrieve the key string and its length (which I assume is known inside the library)?
I am not providing any examples because I am not sure what such an API would look like ideally.
On every iteration, this macro returns the object key in a
const char*
variable. This means that, if the length of this key is required, one needs to callstrlen
on the key. Would it be possible to add a way to retrieve the key string and its length (which I assume is known inside the library)?I am not providing any examples because I am not sure what such an API would look like ideally.