From: neonene <53406459+neonene@users.noreply.github.com> Date: Fri, 26 Apr 2024 16:20:30 +0000 (+0900) Subject: gh-117680: Fix msvc warning in instruction_sequence.c (#118326) X-Git-Tag: v3.13.0b1~253 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=63add11704078390909a485b57a7de6a0358fc2b;p=thirdparty%2FPython%2Fcpython.git gh-117680: Fix msvc warning in instruction_sequence.c (#118326) --- diff --git a/Python/instruction_sequence.c b/Python/instruction_sequence.c index 3a254b2c9def..a3f85f754d71 100644 --- a/Python/instruction_sequence.c +++ b/Python/instruction_sequence.c @@ -20,6 +20,8 @@ typedef _Py_SourceLocation location; #define INITIAL_INSTR_SEQUENCE_SIZE 100 #define INITIAL_INSTR_SEQUENCE_LABELS_MAP_SIZE 10 +#include "clinic/instruction_sequence.c.h" + #undef SUCCESS #undef ERROR #define SUCCESS 0 @@ -172,8 +174,6 @@ class InstructionSequenceType "_PyInstructionSequence *" "&_PyInstructionSequenc [clinic start generated code]*/ /*[clinic end generated code: output=da39a3ee5e6b4b0d input=589963e07480390f]*/ -#include "clinic/instruction_sequence.c.h" - static _PyInstructionSequence* inst_seq_create(void) {