[svn r335] Some fixes to the do_get_file_info.
4 * @file gmyth/gmyth_debug.h
7 * Copyright (C) 2006 INdT - Instituto Nokia de Tecnologia.
8 * @author Renato Filho <renato.filho@indt.org.br>
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU Lesser General Public License as published by
14 * the Free Software Foundation; either version 2 of the License, or
15 * (at your option) any later version.
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
22 * You should have received a copy of the GNU Lesser General Public License
23 * along with this program; if not, write to the Free Software
24 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
27 #ifndef __GMYTH_DEBUG_H__
28 #define __GMYTH_DEBUG_H__
36 #ifdef GMYTH_USE_DEBUG
37 #define gmyth_debug(...) gmyth_debug_real (__FUNCTION__, __FILE__, __LINE__, TRUE, __VA_ARGS__)
39 #define gmyth_debug(...)
42 void gmyth_debug_real (const char *func,
46 const char *format, ...) G_GNUC_PRINTF (5, 6);