Wrap the templated function with CGenerator as the template parameter.
| 874 | |
| 875 | // Wrap the templated function with CGenerator as the template parameter. |
| 876 | bool N64Recomp::recompile_function(const N64Recomp::Context& context, size_t function_index, std::ostream& output_file, std::span<std::vector<uint32_t>> static_funcs_out, bool tag_reference_relocs) { |
| 877 | CGenerator generator{output_file}; |
| 878 | return recompile_function_impl(generator, context, function_index, output_file, static_funcs_out, tag_reference_relocs); |
| 879 | } |
| 880 | |
| 881 | bool N64Recomp::recompile_function_custom(Generator& generator, const Context& context, size_t function_index, std::ostream& output_file, std::span<std::vector<uint32_t>> static_funcs_out, bool tag_reference_relocs) { |
| 882 | return recompile_function_impl(generator, context, function_index, output_file, static_funcs_out, tag_reference_relocs); |
nothing calls this directly
no test coverage detected