mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
Import WebIDL/Function.idl where TimerHandler uses Function, and let the bindings generator handle it through the normal callback-function path. This removes the special C++ mapping for Function and makes TimerHandler use GC::Root<CallbackType>, matching the generated binding type when IDL files are parsed together.
3 lines
88 B
Plaintext
3 lines
88 B
Plaintext
// https://webidl.spec.whatwg.org/#Function
|
|
callback Function = any (any... arguments);
|