3f67f411d8
Bug: skia: Change-Id: I2ffd54cf81c974f3a80103e1726a06067cc90d82 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/200044 Reviewed-by: Mike Reed <reed@google.com> Reviewed-by: Florin Malita <fmalita@chromium.org> Commit-Queue: Kevin Lubick <kjlubick@google.com>
25 lines
518 B
C++
25 lines
518 B
C++
/*
|
|
* Copyright 2019 Google LLC
|
|
*
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
* found in the LICENSE file.
|
|
*/
|
|
|
|
#ifndef WasmAliases_DEFINED
|
|
#define WasmAliases_DEFINED
|
|
|
|
#include <emscripten.h>
|
|
#include <emscripten/bind.h>
|
|
|
|
using namespace emscripten;
|
|
|
|
// Self-documenting types
|
|
using JSArray = emscripten::val;
|
|
using JSColor = int32_t;
|
|
using JSObject = emscripten::val;
|
|
using JSString = emscripten::val;
|
|
using SkPathOrNull = emscripten::val;
|
|
using Uint8Array = emscripten::val;
|
|
|
|
#endif
|