mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-24 18:28:57 +00:00
LibJS: Convert to_u32() to ThrowCompletionOr
This commit is contained in:
parent
f6a5ff7b00
commit
cc94bba5c0
Notes:
sideshowbarker
2024-07-18 02:12:39 +09:00
Author: https://github.com/IdanHo
Commit: cc94bba5c0
Pull-request: https://github.com/SerenityOS/serenity/pull/10522
Reviewed-by: https://github.com/linusg ✅
14 changed files with 32 additions and 69 deletions
|
@ -316,7 +316,7 @@ public:
|
|||
ThrowCompletionOr<double> to_double(GlobalObject&) const;
|
||||
ThrowCompletionOr<StringOrSymbol> to_property_key(GlobalObject&) const;
|
||||
ThrowCompletionOr<i32> to_i32(GlobalObject& global_object) const;
|
||||
u32 to_u32(GlobalObject&) const;
|
||||
ThrowCompletionOr<u32> to_u32(GlobalObject&) const;
|
||||
i16 to_i16(GlobalObject&) const;
|
||||
u16 to_u16(GlobalObject&) const;
|
||||
i8 to_i8(GlobalObject&) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue