COMMON: Rename and tweak MD5 functions
* names now comply to our naming conventions * the function computeStreamMD5AsString which computes the MD5 as a hex string now returns it as a Common::String * add doxygen comments svn-id: r54121
This commit is contained in:
parent
036e88d382
commit
4d3a07b494
13 changed files with 85 additions and 73 deletions
|
@ -281,9 +281,8 @@ bool Debugger::cmdDumpFiles(int argc, const char **) {
|
|||
restoreArchive(); \
|
||||
return true; \
|
||||
} \
|
||||
char md5str[32+1]; \
|
||||
Common::md5_file_string(*stream, md5str, (uint32)stream->size()); \
|
||||
debugC(1, kLastExpressDebugResource, "%s, %d, %s", (*it)->getName().c_str(), stream->size(), (char *)&md5str); \
|
||||
Common::String md5str = Common::computeStreamMD5AsString(*stream); \
|
||||
debugC(1, kLastExpressDebugResource, "%s, %d, %s", (*it)->getName().c_str(), stream->size(), md5str.c_str()); \
|
||||
delete stream; \
|
||||
} \
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue