diff options
author | Nick Foster | 2011-02-15 21:28:43 -0800 |
---|---|---|
committer | Nick Foster | 2011-02-15 21:28:43 -0800 |
commit | d364316fa2e047890af09c7bdeed776d6391b3db (patch) | |
tree | 10783c1d7195b2a547dfdcdca6be0fb00def96ea /volk/include | |
parent | 2387618a492c73ec029599027daeaeebe937e7a7 (diff) | |
download | gnuradio-d364316fa2e047890af09c7bdeed776d6391b3db.tar.gz gnuradio-d364316fa2e047890af09c7bdeed776d6391b3db.tar.bz2 gnuradio-d364316fa2e047890af09c7bdeed776d6391b3db.zip |
Removed some mktables stuff since it's passe
Diffstat (limited to 'volk/include')
-rw-r--r-- | volk/include/volk/make_mktables.py | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/volk/include/volk/make_mktables.py b/volk/include/volk/make_mktables.py deleted file mode 100644 index 25da086fa..000000000 --- a/volk/include/volk/make_mktables.py +++ /dev/null @@ -1,33 +0,0 @@ - - -def make_mktables(funclist) : - tempstring = ""; - tempstring = tempstring + '/*this file is auto generated by volk_register.py*/\n'; - - tempstring = tempstring + '#include<stdio.h>\n'; - tempstring = tempstring + '#include<volk/volk_registry.h>\n'; - tempstring = tempstring + '#include<volk_rank_archs.h>\n'; - tempstrgin = tempstring + '#include<volk/volk_cpu.h>\n'; - tempstring = tempstring + "\n\n"; - - tempstring = tempstring + 'int main() {\n'; - tempstring = tempstring + ' int i = 0;\n'; - tempstring = tempstring + ' FILE* output;\n'; - tempstring = tempstring + ' output = fopen("volk_tables.h", "w");\n'; - tempstring = tempstring + ' fprintf(output, "#ifndef INCLUDED_VOLK_TABLES_H\\n");\n'; - tempstring = tempstring + ' fprintf(output, "#define INCLUDED_VOLK_TABLES_H\\n\\n");\n'; - - for func in funclist: - tempstring = tempstring + ' fprintf(output, "static const ' + func + '_func_table = %u;\\n", 0);\n'; - tempstring = tempstring + ' fprintf(output, "#endif /*INCLUDED_VOLK_TABLES_H*/\\n");\n'; - tempstring = tempstring + ' fclose(output);\n' - tempstring = tempstring + '}\n'; - return tempstring; - - - - - - - - |