42 #define MALLOC(s,t,f) malloc(s)
43 #define FREE(s,t,f) free(s)
60 printf(
" ***** duplication du systeme \n");
66 som2->
eq_sat = (
int *)
MALLOC(
sizeof(
int),INTEGER,
"sommets_dupc");
67 *(som2->
eq_sat) = *(som->eq_sat);
69 for (som1 = som->
succ; som1 != NULL; som1 = som1->
succ)
#define MALLOC(s, t, f)
package plint
Psommet sommets_dupc(Psommet som)
Psommet sommets_dupc(Psommet som): copie d'une liste de sommets tout en respectant le meme ordre.
Psommet sommet_dup(Psommet s_in)
Psommet sommet_dup(Psommet s_in): allocation et copie de la valeur d'un sommet.
structure de donnees Sommet