renatofilho@902: /** renatofilho@902: * GMyth Library renatofilho@902: * renatofilho@902: * @file gmyth/gmyth_debug.h renatofilho@902: * renatofilho@902: * renatofilho@902: * Copyright (C) 2006 INdT - Instituto Nokia de Tecnologia. renatofilho@902: * @author Renato Filho renatofilho@902: * renatofilho@902: * renatofilho@902: * This program is free software; you can redistribute it and/or modify renatofilho@902: * it under the terms of the GNU Lesser General Public License as published by renatofilho@902: * the Free Software Foundation; either version 2 of the License, or renatofilho@902: * (at your option) any later version. renatofilho@902: * renatofilho@902: * This program is distributed in the hope that it will be useful, renatofilho@902: * but WITHOUT ANY WARRANTY; without even the implied warranty of renatofilho@902: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the renatofilho@902: * GNU General Public License for more details. renatofilho@902: * renatofilho@902: * You should have received a copy of the GNU Lesser General Public License renatofilho@902: * along with this program; if not, write to the Free Software renatofilho@902: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA renatofilho@902: */ renatofilho@902: renatofilho@902: #ifndef __GMYTH_DEBUG_H__ renatofilho@902: #define __GMYTH_DEBUG_H__ renatofilho@902: renatofilho@902: #include renatofilho@902: #include renatofilho@902: #include renatofilho@902: renatofilho@902: G_BEGIN_DECLS renatofilho@902: #define gmyth_debug(...) gmyth_debug_real (__FUNCTION__, __FILE__, __LINE__, TRUE, __VA_ARGS__) renatofilho@902: void renatofilho@902: gmyth_debug_real(const char *func, renatofilho@902: const char *file, int line, gboolean newline, renatofilho@902: const char *format, ...) renatofilho@902: G_GNUC_PRINTF(5, 6); renatofilho@902: renatofilho@902: G_END_DECLS renatofilho@902: #endif