diff options
author | Matthias Clasen <mclasen@redhat.com> | 2022-06-24 23:00:58 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2022-07-04 11:17:21 -0400 |
commit | 778df432eb9bba4441d4c47cdbfbcd385b1e9d42 (patch) | |
tree | 39b66234cc325aafdddcebd76ec888d0cc099aaa /pango/pango-trace-private.h | |
parent | 249ce63ebb3d5666d5559184dd7c2c65e32695c2 (diff) | |
download | pango-778df432eb9bba4441d4c47cdbfbcd385b1e9d42.tar.gz |
Convert to the pango2 prefix
This makes pango 2 not just parallel-installable
with pango 1.x, but parallel-usable in the same
process.
Diffstat (limited to 'pango/pango-trace-private.h')
-rw-r--r-- | pango/pango-trace-private.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/pango/pango-trace-private.h b/pango/pango-trace-private.h index 96cc44d6..5ef2a5ff 100644 --- a/pango/pango-trace-private.h +++ b/pango/pango-trace-private.h @@ -27,22 +27,22 @@ #ifdef HAVE_SYSPROF -#define PANGO_TRACE_CURRENT_TIME SYSPROF_CAPTURE_CURRENT_TIME +#define PANGO2_TRACE_CURRENT_TIME SYSPROF_CAPTURE_CURRENT_TIME #else -#define PANGO_TRACE_CURRENT_TIME 0 +#define PANGO2_TRACE_CURRENT_TIME 0 #endif -void pango_trace_mark (gint64 begin_time, - const char *name, - const char *message_format, - ...) G_GNUC_PRINTF (3, 4); +void pango2_trace_mark (gint64 begin_time, + const char *name, + const char *message_format, + ...) G_GNUC_PRINTF (3, 4); #ifndef HAVE_SYSPROF /* Optimise the whole call out */ #if defined(G_HAVE_ISO_VARARGS) -#define pango_trace_mark(b, n, m, ...) G_STMT_START { } G_STMT_END +#define pango2_trace_mark(b, n, m, ...) G_STMT_START { } G_STMT_END #elif defined(G_HAVE_GNUC_VARARGS) -#define pango_trace_mark(b, n, m...) G_STMT_START { } G_STMT_END +#define pango2_trace_mark(b, n, m...) G_STMT_START { } G_STMT_END #else /* no varargs macro support; the call will have to be optimised out by the compiler */ #endif |