Files
ladybird/Libraries/LibWeb/WebIDL/Function.idl
Shannon Booth 5a97dba495 LibWeb: Model Function as a callback type
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.
2026-04-23 07:07:49 +02:00

3 lines
88 B
Plaintext

// https://webidl.spec.whatwg.org/#Function
callback Function = any (any... arguments);