summaryrefslogtreecommitdiffstats
path: root/contrib/tools/python3/Include/internal/pycore_code.h
diff options
context:
space:
mode:
authorshadchin <[email protected]>2026-05-07 07:27:37 +0300
committershadchin <[email protected]>2026-05-07 07:57:26 +0300
commitcdd663c58847eced4c810b05edda251c70a10438 (patch)
tree268b4bf9860a9c77564d93a803d7ecfedd3586cd /contrib/tools/python3/Include/internal/pycore_code.h
parentb6f47db70a8a8e904e3f38bed557097ff00f0b3b (diff)
Update Python 3 to 3.13.13
commit_hash:526db1f6570443324e2690db042314848cd47d2e
Diffstat (limited to 'contrib/tools/python3/Include/internal/pycore_code.h')
-rw-r--r--contrib/tools/python3/Include/internal/pycore_code.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/tools/python3/Include/internal/pycore_code.h b/contrib/tools/python3/Include/internal/pycore_code.h
index efb97dd871f..6048d8714c5 100644
--- a/contrib/tools/python3/Include/internal/pycore_code.h
+++ b/contrib/tools/python3/Include/internal/pycore_code.h
@@ -21,6 +21,9 @@ extern "C" {
* 2**32 - 1, rather than INT_MAX.
*/
+#ifdef _AIX
+#pragma pack(push, 1)
+#endif
typedef union {
uint16_t cache;
struct {
@@ -29,6 +32,9 @@ typedef union {
} op;
_Py_BackoffCounter counter; // First cache entry of specializable op
} _Py_CODEUNIT;
+#ifdef _AIX
+#pragma pack(pop)
+#endif
#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
#define _PyCode_NBYTES(CO) (Py_SIZE(CO) * (Py_ssize_t)sizeof(_Py_CODEUNIT))