1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:57:43 +00:00

LibJS: Expose offset of m_array_size

This commit is contained in:
iliadsh 2023-11-09 08:41:59 +00:00 committed by Andreas Kling
parent 32364d66aa
commit cb933a3e4a

View file

@ -76,6 +76,7 @@ public:
Vector<Value> const& elements() const { return m_packed_elements; }
static FlatPtr array_size_offset() { return OFFSET_OF(SimpleIndexedPropertyStorage, m_array_size); }
static FlatPtr elements_offset() { return OFFSET_OF(SimpleIndexedPropertyStorage, m_packed_elements); }
private: