DD2-monitor/core/t.c

46 lines
687 B
C
Raw Normal View History

2019-01-14 13:20:54 +11:00
/*
* main de test des core functions
*/
#include <stdio.h>
#include <stdlib.h>
#include <getopt.h>
#include "lut1024.h"
int verbosity;
/* ---------------------------------------------------------------- */
int main (int argc, char *argv[])
{
int foo, opt;
/* set some default values */
verbosity = 0;
while ((opt = getopt(argc, argv, "v")) != -1) {
switch (opt) {
case 'v': verbosity++; break;
default:
fprintf(stderr, "%s : uh ?", argv[0]);
exit(1);
break;
}
}
foo = load_lut1024f("foo.lut1024f", NULL, 1);
fprintf(stderr, "chargement de la lut --> %d\n", foo);
return 0;
}
/* ---------------------------------------------------------------- */