Skip to content

Commit

Permalink
COMMON: Clarify documentation for OSystem::convertEncoding
Browse files Browse the repository at this point in the history
  • Loading branch information
criezy committed Nov 8, 2019
1 parent 8b586ed commit 8ac0012
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/system.h
Expand Up @@ -1541,8 +1541,8 @@ class OSystem : Common::NonCopyable {
* @param string The string that should be converted
* @param length Size of the string in bytes
*
* @return Converted string, which must be freed, or nullptr if the conversion
* isn't possible.
* @return Converted string, which must be freed by the caller (using free()
* and not delete[]), or nullptr if the conversion isn't possible.
*/
virtual char *convertEncoding(const char *to, const char *from, const char *string, size_t length) { return nullptr; }
};
Expand Down

0 comments on commit 8ac0012

Please sign in to comment.