Skip to content

Commit

Permalink
chore: line up with Python 3.11b4
Browse files Browse the repository at this point in the history
  • Loading branch information
P403n1x87 committed Jul 19, 2022
1 parent b650eca commit 4c1ba95
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/python/code.h
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@ typedef struct {
PyObject *co_exceptiontable; /* Byte string encoding exception handling \
table */ \
int co_flags; /* CO_..., see below */ \
int co_warmup; /* Warmup counter for quickening */ \
short co_warmup; /* Warmup counter for quickening */ \
short _co_linearray_entry_size; /* Size of each entry in _co_linearray */ \
\
/* The rest are not so impactful on performance. */ \
int co_argcount; /* #arguments, except *args */ \
Expand All @@ -140,6 +141,9 @@ typedef struct {
PyObject *co_qualname; /* unicode (qualname, for reference) */ \
PyObject *co_linetable; /* bytes object that holds location info */ \
PyObject *co_weakreflist; /* to support weakrefs to code objects */ \
PyObject *_co_code; /* cached co_code object/attribute */ \
char *_co_linearray; /* array of line offsets */ \
int _co_firsttraceable; /* index of first traceable instruction */ \
void *co_extra; \
char co_code_adaptive[(SIZE)]; \
}
Expand Down

0 comments on commit 4c1ba95

Please sign in to comment.