2021-09-03 21:10:57 -03:00
|
|
|
/*
|
|
|
|
|
* Copyright (c) 2021, Ali Mohammad Pur <mpfard@serenityos.org>
|
|
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#include "WebAssemblyTablePrototype.h"
|
|
|
|
|
#include <LibWeb/WebAssembly/WebAssemblyTableObject.h>
|
|
|
|
|
|
|
|
|
|
namespace Web::Bindings {
|
|
|
|
|
|
2022-08-15 20:20:49 -03:00
|
|
|
WebAssemblyTableObject::WebAssemblyTableObject(JS::Realm& realm, Wasm::TableAddress address)
|
2022-08-28 08:42:07 -03:00
|
|
|
: Object(verify_cast<HTML::Window>(realm.global_object()).ensure_web_prototype<WebAssemblyTablePrototype>("WebAssemblyTablePrototype"))
|
2021-09-03 21:10:57 -03:00
|
|
|
, m_address(address)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|