mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-02-17 09:34:04 +00:00
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:
parent
ca40101025
commit
908b98107c
3 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
|
||||
|
|
|
@ -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:
|
||||
*
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue