~michael-sheldon/ubuntu/utopic/maliit-framework/fix-orientation-updates

« back to all changes in this revision

Viewing changes to connection-glib/debug.h

  • Committer: Package Import Robot
  • Author(s): Ricardo Salveti de Araujo, Sergio Schvezov, Ricardo Salveti de Araujo
  • Date: 2013-07-23 19:47:04 UTC
  • mfrom: (1.1.2) (1.2.1 experimental)
  • Revision ID: package-import@ubuntu.com-20130723194704-1lsy1kmlda069cea
Tags: 0.99.0+git20130615+97e8335-0ubuntu1
[ Sergio Schvezov ]
* New build from HEAD 97e8335.
* Packaging import from lp:phablet-extras/maliit-framework.

[ Ricardo Salveti de Araujo ]
* debian/control: adding vcs and fixing dependencies
* General package cleanup

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef _DEBUG_H
2
 
#define _DEBUG_H
3
 
 
4
 
#include <glib.h>
5
 
 
6
 
G_BEGIN_DECLS
7
 
 
8
 
gboolean maliit_is_debug_enabled(void);
9
 
 
10
 
#define DBG(x, a...) if (maliit_is_debug_enabled()) { g_debug("%s: " x, __FUNCTION__, ##a); }
11
 
 
12
 
#define STEP() DBG("")
13
 
 
14
 
#define UNUSED(v) (void)v;
15
 
 
16
 
G_END_DECLS
17
 
 
18
 
#endif // _DEBUG_H