From 905c61628fe70ad91d5465bc902c3cf2bd95bf5c Mon Sep 17 00:00:00 2001 From: le vieux Date: Tue, 10 Nov 2020 02:07:30 +0100 Subject: [PATCH] to be done next week --- Fonderie/metriques.c | 22 ++++++++++++++++++++++ Fonderie/metriques.h | 9 +++++++++ 2 files changed, 31 insertions(+) create mode 100644 Fonderie/metriques.c create mode 100644 Fonderie/metriques.h diff --git a/Fonderie/metriques.c b/Fonderie/metriques.c new file mode 100644 index 0000000..d878b0c --- /dev/null +++ b/Fonderie/metriques.c @@ -0,0 +1,22 @@ +/* + * metriques.c + */ + +#include + +extern int verbosity; + +/* -------------------------------------------------------------- */ + +int get_float_metric(FloatImg *pimg, float *where, int whot) +{ + +#if DEBUG_LEVEL +fprintf(stderr, ">>> %s ( %p %f %d )\n", __func__, pimg, where, whot); +#endif + +*where = 0; + +return -1; +} +/* -------------------------------------------------------------- */ diff --git a/Fonderie/metriques.h b/Fonderie/metriques.h new file mode 100644 index 0000000..69f0fcf --- /dev/null +++ b/Fonderie/metriques.h @@ -0,0 +1,9 @@ +/* + * metriques.h + */ + +/* -------------------------------------------------------------- */ + +int get_float_metric(FloatImg *pimg, float *where, int whot) + +/* -------------------------------------------------------------- */