blob: bcc6705517fae74e6818356414eee89ed783b864 [file] [log] [blame]
Nathaniel Nifonge5d32542020-03-26 09:27:48 -04001/*
2 * Copyright 2019 Google LLC
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
8#ifndef WasmCommon_DEFINED
9#define WasmCommon_DEFINED
10
11#include <emscripten.h>
12#include <emscripten/bind.h>
13#include "include/core/SkColor.h"
14
15using namespace emscripten;
16
17// Self-documenting types
18using JSArray = emscripten::val;
19using JSObject = emscripten::val;
20using JSString = emscripten::val;
21using SkPathOrNull = emscripten::val;
22using Uint8Array = emscripten::val;
23using Float32Array = emscripten::val;
24
Nathaniel Nifonge5d32542020-03-26 09:27:48 -040025#endif