2021-09-04 04:40:57 +04:30
|
|
|
/*
|
|
|
|
* Copyright (c) 2021, Ali Mohammad Pur <mpfard@serenityos.org>
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "WebAssemblyTablePrototype.h"
|
2022-09-30 17:16:16 -06:00
|
|
|
#include <LibWeb/Bindings/Intrinsics.h>
|
2021-09-04 04:40:57 +04:30
|
|
|
#include <LibWeb/WebAssembly/WebAssemblyTableObject.h>
|
|
|
|
|
|
|
|
namespace Web::Bindings {
|
|
|
|
|
2022-08-16 00:20:49 +01:00
|
|
|
WebAssemblyTableObject::WebAssemblyTableObject(JS::Realm& realm, Wasm::TableAddress address)
|
2022-09-25 18:05:03 -06:00
|
|
|
: Object(Bindings::ensure_web_prototype<WebAssemblyTablePrototype>(realm, "WebAssemblyTablePrototype"))
|
2021-09-04 04:40:57 +04:30
|
|
|
, m_address(address)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|