/* * main de test des core functions */ #include #include #include #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; } /* ---------------------------------------------------------------- */