Bug 1385172 - Move some comments in nsEscape.h. r=erahm.

Comments about functions should go before the declaration, not after!

--HG--
extra : rebase_source : 7cfdb2cc7fd926bec36673d8ca334920c07d0a43
This commit is contained in:
Nicholas Nethercote 2017-08-21 08:58:28 +10:00
parent 4a623e6df4
commit 4e54a99900

View File

@ -43,16 +43,17 @@ extern "C" {
char* nsEscape(const char* aStr, size_t aLength, size_t* aOutputLen,
nsEscapeMask aMask);
/**
* Decodes '%'-escaped hex codes into character values, modifies the parameter,
* returns the same buffer
*/
char* nsUnescape(char* aStr);
/* decode % escaped hex codes into character values,
* modifies the parameter, returns the same buffer
*/
int32_t nsUnescapeCount(char* aStr);
/* decode % escaped hex codes into character values,
* modifies the parameter buffer, returns the length of the result
* (result may contain \0's).
/**
* Decodes '%'-escaped hex codes into character values, modifies the parameter
* buffer, returns the length of the result (result may contain \0's).
*/
int32_t nsUnescapeCount(char* aStr);
#ifdef __cplusplus
}