X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=sidebyside;f=libdocument%2Fev-debug.h;h=08f5e4560688fc4114b4f74eaad33688d91fc273;hb=7d59434cbd7ea6bdd42a6f3223a47cbb06ba4069;hp=c8b8a34f2381c52a1f322bf4fe13bf83d96788e9;hpb=597433bc874ff2cf5cb9f9de4e053db47837e042;p=evince.git diff --git a/libdocument/ev-debug.h b/libdocument/ev-debug.h index c8b8a34f..08f5e456 100644 --- a/libdocument/ev-debug.h +++ b/libdocument/ev-debug.h @@ -32,6 +32,10 @@ /* Modified by Evince Team */ +#if !defined (EVINCE_COMPILATION) +#error "This is a private header." +#endif + #ifndef __EV_DEBUG_H__ #define __EV_DEBUG_H__ @@ -41,8 +45,8 @@ #ifndef EV_ENABLE_DEBUG -#define ev_debug_init() -#define ev_debug_shutdown() +#define _ev_debug_init() +#define _ev_debug_shutdown() #if defined(G_HAVE_GNUC_VARARGS) #define ev_debug_message(section, format, args...) G_STMT_START { } G_STMT_END #define ev_profiler_start(format, args...) G_STMT_START { } G_STMT_END @@ -83,8 +87,8 @@ typedef enum { EV_PROFILE_JOBS = 1 << 0 } EvProfileSection; -void ev_debug_init (void); -void ev_debug_shutdown (void); +void _ev_debug_init (void); +void _ev_debug_shutdown (void); void ev_debug_message (EvDebugSection section, const gchar *file,