4 * gEDA - GNU Electronic Design Automation
5 * This file is a part of gerbv.
7 * Copyright (C) 2007 Dan McMahill
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA
24 \brief Contains basic defines for debug messages
36 #define __FUNCTION1(a,b) a ":" #b
37 #define __FUNCTION2(a,b) __FUNCTION1(a,b)
38 #define __FUNCTION__ __FUNCTION2(__FILE__,__LINE__)
41 #endif /* __COMMON_H__ */