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

LibJS: Return a bool from Object::put* to indicate success

This commit is contained in:
Linus Groh 2020-04-30 20:01:54 +01:00 committed by Andreas Kling
parent 6dbb5df81f
commit 4cdd802927
4 changed files with 24 additions and 21 deletions

View file

@ -39,7 +39,7 @@ public:
i32 length() const { return m_length; }
virtual void put_by_index(i32 property_index, Value value, u8 attribute = default_attributes) override;
virtual bool put_by_index(i32 property_index, Value value, u8 attribute = default_attributes) override;
virtual Value get_by_index(i32 property_index) const override;
u8* data() { return m_data; }