mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-21 03:50:16 +00:00
Update obj.h
This commit is contained in:
parent
a1f7a16ddc
commit
7de1d4d55a
@ -146,7 +146,7 @@ struct PyObject final{
|
||||
template<typename T>
|
||||
inline constexpr int py_sizeof = sizeof(PyObject) + sizeof(T);
|
||||
|
||||
static_assert(sizeof(PyObject) == 16);
|
||||
static_assert(sizeof(PyObject) <= 16);
|
||||
|
||||
const int kTpIntIndex = 3;
|
||||
const int kTpFloatIndex = 4;
|
||||
|
Loading…
x
Reference in New Issue
Block a user