Move some output stream parameters forward.

This allows us to avoid removing parameter defaults for these functions.
This commit is contained in:
Michael Hansen
2023-06-05 13:56:25 -07:00
parent 46ea76c0e9
commit bf3599c87a
6 changed files with 54 additions and 45 deletions

View File

@@ -35,6 +35,8 @@ bool IsCompareArg(int opcode);
}
void print_const(PycRef<PycObject> obj, PycModule* mod, const char* parent_f_string_quote, std::ostream& pyc_output);
void print_const(std::ostream& pyc_output, PycRef<PycObject> obj, PycModule* mod,
const char* parent_f_string_quote = nullptr);
void bc_next(PycBuffer& source, PycModule* mod, int& opcode, int& operand, int& pos);
void bc_disasm(PycRef<PycCode> code, PycModule* mod, int indent, unsigned flags, std::ostream& pyc_output);
void bc_disasm(std::ostream& pyc_output, PycRef<PycCode> code, PycModule* mod,
int indent, unsigned flags);