The DIFile C++ API supports checksums, but the C-API does not. This patch updates the C-API to support an optional checksum value.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Do you have a use-case for the C API? We tend to update it only when necessary.
And when we do update it, it has to be backward-compatible IIUC. Adding new parameters to an existing API does not preserve that property.
Comment Actions
Exactly. I also vaguely remember that you'd have to bump some minor version somewhere?
Comment Actions
I have no immediate use, I just did not understand that these APIs are only updated as-needed. I think it makes the most sense to abandon this patch and update the source-embedding patch to not touch the API, and if in the future it becomes useful to add either or both to the C API we can worry about how to retain backwards compatibility.