Made the calls to Error() more verbose git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@179 416bcca6-2ee7-4201-b75f-2eb2f807beb1
14 lines
588 B
C
14 lines
588 B
C
// Affcihenom fichier, n° ligne, nom fonction, une chaine et un entier.
|
|
#define DEBUG(y,z) printf("%s %d %s | %s : %d###\n",__FILE__,__LINE__,__func__,y,(unsigned int)z)
|
|
|
|
// DEBUG en hexadécimal
|
|
#define DEBUGX(y,z) printf("%s %d %s | %s : %X###\n",__FILE__,__LINE__,__func__,y,(unsigned int)z)
|
|
|
|
#define UNIMPLEMENTED printf("%s %d %s non implémenté !\n",__FILE__,__LINE__,__func__);
|
|
|
|
#define UNTESTED printf("%s %d %s à tester !\n",__FILE__,__LINE__,__func__);
|
|
|
|
void Erreur_fonction(int, const char *, int, const char *);
|
|
#define Erreur(n) Erreur_fonction(n, __FILE__,__LINE__,__func__)
|
|
|