17 lines
394 B
C
17 lines
394 B
C
#ifndef GENPRINT_H_
|
|
#define GENPRINT_H_
|
|
|
|
#include "genprint.h"
|
|
|
|
/* genprint.c */
|
|
// Affiche T[i] avec le bon format suivant le type t
|
|
void print(type_t t, void *T, int i);
|
|
|
|
// Initialisation aléatoire de l'élément T[i]
|
|
void init(type_t t, void *T, int i);
|
|
|
|
// Affiche le contenu du tableau array d'éléments de type t
|
|
void print_array(void *array, type_t t, int nb);
|
|
|
|
#endif // GENPRINT_H_
|