diff options
author | Moonchild <moonchild@palemoon.org> | 2021-10-15 18:01:51 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2021-10-15 18:01:51 +0000 |
commit | 75cd5802a73efc06c01c4379bd2eaefc493a08e3 (patch) | |
tree | 27cec79bae9087dba8a5f25cebd7256ec742d9b7 /xpcom/glue | |
parent | 5cca3850980ca2998755a252835d8450f505fda1 (diff) | |
download | aura-central-75cd5802a73efc06c01c4379bd2eaefc493a08e3.tar.gz |
Issue %3020 - Part 6: Clean up docs and some code comments.
Polish only, no code changes.
Diffstat (limited to 'xpcom/glue')
-rw-r--r-- | xpcom/glue/nsDebug.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/xpcom/glue/nsDebug.h b/xpcom/glue/nsDebug.h index 2feaba94e..8921d6021 100644 --- a/xpcom/glue/nsDebug.h +++ b/xpcom/glue/nsDebug.h @@ -390,10 +390,6 @@ extern "C" { /** * printf_stderr(...) is much like fprintf(stderr, ...), except that: * - it calls the callback set through set_stderr_callback - * - on Android and Firefox OS, *instead* of printing to stderr, it - * prints to logcat. (Newlines in the string lead to multiple lines - * of logcat, but each function call implicitly completes a line even - * if the string does not end with a newline.) * - on Windows, if a debugger is present, it calls OutputDebugString * in *addition* to writing to stderr */ @@ -407,17 +403,6 @@ void vprintf_stderr(const char* aFmt, va_list aArgs); /** * fprintf_stderr is like fprintf, except that if its file argument * is stderr, it invokes printf_stderr instead. - * - * This is useful for general debugging code that logs information to a - * file, but that you would like to be useful on Android and Firefox OS. - * If you use fprintf_stderr instead of fprintf in such debugging code, - * then callers can pass stderr to get logging that works on Android and - * Firefox OS (and also the other side-effects of using printf_stderr). - * - * Code that is structured this way needs to be careful not to split a - * line of output across multiple calls to fprintf_stderr, since doing - * so will cause it to appear in multiple lines in logcat output. - * (Producing multiple lines at once is fine.) */ void fprintf_stderr(FILE* aFile, const char* aFmt, ...) MOZ_FORMAT_PRINTF(2, 3); |