File: autounit-private.h

package info (click to toggle)
autounit 0.20.1-5
  • links: PTS
  • area: main
  • in suites: buster, stretch
  • size: 1,700 kB
  • sloc: sh: 8,777; ansic: 2,606; makefile: 119
file content (22 lines) | stat: -rw-r--r-- 520 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef AUTOUNIT_PRIVATE_H
#define AUTOUNIT_PRIVATE_H

#include <config.h>
#include <glib.h>

#ifdef AUTOUNIT_C_UNIT_DEBUG
#define au_log(func, msg) \
    g_log(G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%s %s", func, msg);
#define au_log_start(func) au_log(func, "START");
#define au_log_end(func) au_log(func, "END");
#else 
#define au_log(func, msg)
#define au_log_start(func)
#define au_log_end(func)
#endif

#include <libintl.h>
#define _(str) gettext(str)
#define N_(str) gettext_noop(str)

#endif /* AUTOUNIT_PRIVATE_H */