V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
wasm-js.h
1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef V8_WASM_WASM_JS_H_
6 #define V8_WASM_WASM_JS_H_
7 
8 #include "src/globals.h"
9 
10 namespace v8 {
11 namespace internal {
12 
13 namespace wasm {
14 class StreamingDecoder;
15 }
16 
17 // Exposes a WebAssembly API to JavaScript through the V8 API.
18 class WasmJs {
19  public:
20  V8_EXPORT_PRIVATE static void Install(Isolate* isolate,
21  bool exposed_on_global_object);
22 };
23 
24 } // namespace internal
25 } // namespace v8
26 
27 #endif // V8_WASM_WASM_JS_H_
Definition: libplatform.h:13