1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 06:48:12 +00:00

LibWeb: Don't generate a wrap() function for the Event IDL interface

We already have a wrap() in EventWrapperFactory.cpp. It would be nice
to generate that at some point but it will require a lot more work on
the wrapper generator.
This commit is contained in:
Andreas Kling 2020-11-27 13:54:58 +01:00
parent ddbfd77e2c
commit 024b216141
2 changed files with 3 additions and 0 deletions

View file

@ -342,6 +342,8 @@ int main(int argc, char** argv)
static bool should_emit_wrapper_factory(const IDL::Interface& interface)
{
// FIXME: This is very hackish.
if (interface.name == "Event")
return false;
if (interface.name == "EventTarget")
return false;
if (interface.name == "Node")