mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:17:35 +00:00
LibJS: Convert to_u8_clamp() to ThrowCompletionOr
This commit is contained in:
parent
99287afc99
commit
750da61c0f
3 changed files with 4 additions and 4 deletions
|
@ -321,7 +321,7 @@ public:
|
|||
ThrowCompletionOr<u16> to_u16(GlobalObject&) const;
|
||||
ThrowCompletionOr<i8> to_i8(GlobalObject&) const;
|
||||
ThrowCompletionOr<u8> to_u8(GlobalObject&) const;
|
||||
u8 to_u8_clamp(GlobalObject&) const;
|
||||
ThrowCompletionOr<u8> to_u8_clamp(GlobalObject&) const;
|
||||
size_t to_length(GlobalObject&) const;
|
||||
size_t to_index(GlobalObject&) const;
|
||||
double to_integer_or_infinity(GlobalObject&) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue