Rename generated table files from .c to .inc.h

These two files are not ordinary C files, and are being compiled
through #include's in other C source files, not through invoking
compiler on generated files. This might confuse both developers and
automated systems.

For longer explanation see discussion in #800.
This commit is contained in:
Patryk Obara 2021-03-12 15:18:42 +01:00 committed by Tom M
parent ca40101025
commit 908b98107c
3 changed files with 4 additions and 4 deletions

View file

@ -72,11 +72,11 @@ int main (int argc, char *argv[])
if (argc < 2)
return -1;
open_table(&fp, argv[1], "fluid_conv_tables.c");
open_table(&fp, argv[1], "fluid_conv_tables.inc.h");
gen_conv_table(fp);
fclose(fp);
open_table(&fp, argv[1], "fluid_rvoice_dsp_tables.c");
open_table(&fp, argv[1], "fluid_rvoice_dsp_tables.inc.h");
gen_rvoice_table_dsp(fp);
fclose(fp);

View file

@ -21,7 +21,7 @@
#include "fluid_sys.h"
#include "fluid_phase.h"
#include "fluid_rvoice.h"
#include "fluid_rvoice_dsp_tables.c"
#include "fluid_rvoice_dsp_tables.inc.h"
/* Purpose:
*

View file

@ -20,7 +20,7 @@
#include "fluid_conv.h"
#include "fluid_sys.h"
#include "fluid_conv_tables.c"
#include "fluid_conv_tables.inc.h"
/*
* Converts absolute cents to Hertz