mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:57:45 +00:00
LibJS: Port create_iterator_result_object() to NonnullGCPtr
This commit is contained in:
parent
aff1ec6014
commit
d4eaaf905c
4 changed files with 5 additions and 5 deletions
|
@ -29,7 +29,7 @@ ThrowCompletionOr<bool> iterator_complete(VM&, Object& iterator_result);
|
|||
ThrowCompletionOr<Value> iterator_value(VM&, Object& iterator_result);
|
||||
Completion iterator_close(VM&, Iterator const&, Completion);
|
||||
Completion async_iterator_close(VM&, Iterator const&, Completion);
|
||||
Object* create_iterator_result_object(VM&, Value, bool done);
|
||||
NonnullGCPtr<Object> create_iterator_result_object(VM&, Value, bool done);
|
||||
ThrowCompletionOr<MarkedVector<Value>> iterable_to_list(VM&, Value iterable, Optional<Value> method = {});
|
||||
|
||||
using IteratorValueCallback = Function<Optional<Completion>(Value)>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue