mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:37:45 +00:00
LibWeb: Add LibJS includes to generated IDL namespace files
These will be needed by any namespace having a BufferSource parameter,
such as WebAssembly.
Similar to 49e6cb7c3d
.
This commit is contained in:
parent
08fabf7acb
commit
a277e645d3
1 changed files with 3 additions and 0 deletions
|
@ -2739,8 +2739,11 @@ void generate_namespace_implementation(IDL::Interface const& interface, StringBu
|
|||
generator.append(R"~~~(
|
||||
#include <AK/Function.h>
|
||||
#include <LibIDL/Types.h>
|
||||
#include <LibJS/Runtime/ArrayBuffer.h>
|
||||
#include <LibJS/Runtime/DataView.h>
|
||||
#include <LibJS/Runtime/Error.h>
|
||||
#include <LibJS/Runtime/PrimitiveString.h>
|
||||
#include <LibJS/Runtime/TypedArray.h>
|
||||
#include <LibJS/Runtime/Value.h>
|
||||
#include <LibWeb/Bindings/@namespace_class@.h>
|
||||
#include <LibWeb/Bindings/ExceptionOrUtils.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue