00001 /* Grafx2 - The Ultimate 256-color bitmap paint program 00002 00003 Copyright 2008 Adrien Destugues 00004 00005 Grafx2 is free software; you can redistribute it and/or 00006 modify it under the terms of the GNU General Public License 00007 as published by the Free Software Foundation; version 2 00008 of the License. 00009 00010 Grafx2 is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 GNU General Public License for more details. 00014 00015 You should have received a copy of the GNU General Public License 00016 along with Grafx2; if not, see <http://www.gnu.org/licenses/> or 00017 write to the Free Software Foundation, Inc., 00018 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00019 */ 00020 // Affiche nom fichier, n° ligne, nom fonction, une chaine et un entier. 00021 #define DEBUG(y,z) printf("%s %d %s | %s : %d###\n",__FILE__,__LINE__,__func__,y,(unsigned int)z) 00022 00023 // DEBUG en hexadécimal 00024 #define DEBUGX(y,z) printf("%s %d %s | %s : %X###\n",__FILE__,__LINE__,__func__,y,(unsigned int)z) 00025 00026 #define UNIMPLEMENTED printf("%s %d %s non implémenté !\n",__FILE__,__LINE__,__func__); 00027 00028 #define UNTESTED printf("%s %d %s à tester !\n",__FILE__,__LINE__,__func__); 00029 00030 void Erreur_fonction(int, const char *, int, const char *); 00031 #define Erreur(n) Erreur_fonction(n, __FILE__,__LINE__,__func__) 00032
1.5.8