[RemoteMirrors] Support passing NULL for the FreeBytesFunction.

This commit is contained in:
Mike Ash
2018-02-27 14:43:24 -05:00
parent 16c571f65f
commit d775f72d19
3 changed files with 12 additions and 6 deletions

View File

@@ -56,7 +56,7 @@ typedef struct MemoryReaderImpl {
/// Get the size in bytes of the target's size type.
SizeSizeFunction getSizeSize;
/// Free memory returned from readBytes.
/// Free memory returned from readBytes. May be NULL if memory never needs to be freed.
FreeBytesFunction free;
// FIXME: -Wdocumentation complains about \param and \returns on function pointers.