1bedbeb081
Change-Id: I4534a246c37870750298d39edcbc869781dc1008 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/286880 Commit-Queue: Nathaniel Nifong <nifong@google.com> Reviewed-by: Kevin Lubick <kjlubick@google.com>
26 lines
563 B
C++
26 lines
563 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 WasmCommon_DEFINED
|
|
#define WasmCommon_DEFINED
|
|
|
|
#include <emscripten.h>
|
|
#include <emscripten/bind.h>
|
|
#include "include/core/SkColor.h"
|
|
|
|
using namespace emscripten;
|
|
|
|
// Self-documenting types
|
|
using JSArray = emscripten::val;
|
|
using JSObject = emscripten::val;
|
|
using JSString = emscripten::val;
|
|
using SkPathOrNull = emscripten::val;
|
|
using Uint8Array = emscripten::val;
|
|
using Float32Array = emscripten::val;
|
|
|
|
#endif
|