mirror of
https://github.com/N64Recomp/N64Recomp.git
synced 2026-04-27 04:21:51 +00:00
Do not include funcs.h on the generated funcs
This commit is contained in:
parent
0d22dfa21f
commit
c58787c148
2 changed files with 0 additions and 5 deletions
|
|
@ -1300,14 +1300,10 @@ int main(int argc, char** argv) {
|
|||
std::ofstream func_header_file{ config.output_func_path / "funcs.h" };
|
||||
|
||||
fmt::print(func_header_file,
|
||||
"#ifndef __RECOMPED_FUNCS_H__\n"
|
||||
"#define __RECOMPED_FUNCS_H__\n"
|
||||
"#include \"recomp.h\"\n"
|
||||
"\n"
|
||||
"#ifdef __cplusplus\n"
|
||||
"extern \"C\" {{\n"
|
||||
"#endif\n"
|
||||
"\n"
|
||||
);
|
||||
|
||||
std::vector<std::vector<uint32_t>> static_funcs_by_section{ context.sections.size() };
|
||||
|
|
|
|||
|
|
@ -1067,7 +1067,6 @@ bool RecompPort::recompile_function(const RecompPort::Context& context, const Re
|
|||
// Write the file header
|
||||
fmt::print(output_file,
|
||||
"#include \"recomp.h\"\n"
|
||||
"#include \"funcs.h\"\n"
|
||||
"#include \"disable_warnings.h\"\n"
|
||||
"\n");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue