Fix a Gtk warning when checking path input in the log viewer.
[anjuta-git-plugin.git] / libanjuta / anjuta-debug.h
blobd7ccea45b7d7f6f142f4208431f8f645ede627e6
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
2 /*
3 anjuta-utils.h
4 Copyright (C) 2003 Naba Kumar <naba@gnome.org>
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21 /**
22 * SECTION:anjuta-debug
23 * @title: Debugging
24 * @short_description: Debug functions
25 * @see_also:
26 * @stability: Unstable
27 * @include: libanjuta/anjuta-debug.h
31 #ifndef __ANJUTA_DEBUG__
32 #define __ANJUTA_DEBUG__
34 /**
35 * DEBUG_PRINT:
37 * Equivalent to g_message(), except it has only effect when DEBUG is
38 * defined. Used for printing debug messages.
41 #ifdef DEBUG
42 # define DEBUG_PRINT g_message
43 #else
44 # define DEBUG_PRINT(...)
45 #endif
47 #endif