This commit is contained in:
blueloveTH 2024-08-12 13:25:52 +08:00
parent 81fe369b44
commit 8b32296c9c

View File

@ -31,3 +31,4 @@ typedef struct py_TValue {
// 16 bytes to make py_arg() macro work
static_assert(sizeof(py_CFunction) <= 8, "sizeof(py_CFunction) > 8");
static_assert(sizeof(py_TValue) == 16, "sizeof(py_TValue) != 16");
static_assert(offsetof(py_TValue, extra) == 4, "offsetof(py_TValue, extra) != 4");