Skip to content
Permalink
Browse files

COMMON: Clarify documentation for OSystem::convertEncoding

  • Loading branch information...
criezy committed Nov 6, 2019
1 parent 8b586ed commit 8ac0012fdde8fe0c380ecbff649bc32cff7a2a28
Showing with 2 additions and 2 deletions.
  1. +2 −2 common/system.h
@@ -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; }
};

0 comments on commit 8ac0012

Please sign in to comment.
You can’t perform that action at this time.