#include <stdlib.h>
Go to the source code of this file.
Defines | |
#define | NO_ERROR 0 |
#define | ERREUR(message) |
#define | VERIF_PT_NULL(PT, CHAINE) |
#define | ALLOUER(PTR, NB, TYPE) |
#define | MULTIPLIER(x, y) ((x)*(y)) |
#define | ABS(x) ( (x) > 0 ? x : -(x) ) |
#define ALLOUER | ( | PTR, | |||
NB, | |||||
TYPE | ) |
Value:
{\ PTR = (TYPE*)malloc ((NB) * sizeof(TYPE)); \ VERIF_PT_NULL(PTR,"Allocation Impossible");\ }\
#define ERREUR | ( | message | ) |
Value:
{\
printf("\nERREUR --> fichier %s ligne %d : \n%s\n \n", __FILE__, __LINE__, message) ;\
exit(1);\
}\
Definition at line 36 of file macros.h.
Referenced by main(), normaliser_data_input_sur_a_b(), and normaliser_data_output_sur_a_b().
#define VERIF_PT_NULL | ( | PT, | |||
CHAINE | ) |