gecko-dev/mozglue
Carl Corcoran d6d1ff2060 Bug 1503538 Part 1/5: Move printf_stderr to a shared header r=aklotz
In the tree we have two copies of printf_stderr() with the comment,
"Ideally this should be shared". This moves the function to a new exported
header which can be the basis for other similar debugging utility functions.

To include it,
#include "mozilla/glue/Debug.h"

A small concern with this is that printf_stderr() is in the global namespace,
and could conflict if it's inadvertently included along with, for example,
nsDebug.h which also defines this function. The warning in the comment at the
top of the file attempts to mitigate this.

Differential Revision: https://phabricator.services.mozilla.com/D13196

--HG--
extra : moz-landing-system : lando
2019-03-06 00:51:15 +00:00
..
android Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
build Bug 1503538 Part 1/5: Move printf_stderr to a shared header r=aklotz 2019-03-06 00:51:15 +00:00
linker Bug 1523969 part 18 - Move method definition inline comments to new line in mozglue. r=glandium 2019-02-25 16:10:53 -06:00
misc Bug 1503538 Part 1/5: Move printf_stderr to a shared header r=aklotz 2019-03-06 00:51:15 +00:00
tests Bug 1526016: Get TestDllInterceptor building on aarch64 builds; r=handyman 2019-02-21 18:42:42 +00:00
moz.build