mirror of
https://github.com/python/cpython.git
synced 2024-11-23 09:54:58 +08:00
gh-117680: Fix msvc warning in instruction_sequence.c (#118326)
This commit is contained in:
parent
0f99861332
commit
63add11704
@ -20,6 +20,8 @@ typedef _Py_SourceLocation location;
|
|||||||
#define INITIAL_INSTR_SEQUENCE_SIZE 100
|
#define INITIAL_INSTR_SEQUENCE_SIZE 100
|
||||||
#define INITIAL_INSTR_SEQUENCE_LABELS_MAP_SIZE 10
|
#define INITIAL_INSTR_SEQUENCE_LABELS_MAP_SIZE 10
|
||||||
|
|
||||||
|
#include "clinic/instruction_sequence.c.h"
|
||||||
|
|
||||||
#undef SUCCESS
|
#undef SUCCESS
|
||||||
#undef ERROR
|
#undef ERROR
|
||||||
#define SUCCESS 0
|
#define SUCCESS 0
|
||||||
@ -172,8 +174,6 @@ class InstructionSequenceType "_PyInstructionSequence *" "&_PyInstructionSequenc
|
|||||||
[clinic start generated code]*/
|
[clinic start generated code]*/
|
||||||
/*[clinic end generated code: output=da39a3ee5e6b4b0d input=589963e07480390f]*/
|
/*[clinic end generated code: output=da39a3ee5e6b4b0d input=589963e07480390f]*/
|
||||||
|
|
||||||
#include "clinic/instruction_sequence.c.h"
|
|
||||||
|
|
||||||
static _PyInstructionSequence*
|
static _PyInstructionSequence*
|
||||||
inst_seq_create(void)
|
inst_seq_create(void)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user