#include <emscripten/val.h>#include <cstddef>#include <cstdint>#include <functional>#include <string>#include <type_traits>#include <utility>Go to the source code of this file.
Classes | |
| struct | Wasm::TypedArrayName< float > |
| struct | Wasm::TypedArrayName< uint32_t > |
| struct | Wasm::TypedArrayName< uint8_t > |
Namespaces | |
| namespace | Wasm |
Functions | |
| void | Wasm::throwJsError (const std::string &msg) |
| template<typename E> | |
| auto | Wasm::unwrap (E &&e) |
| template<typename S> | |
| emscripten::val | Wasm::makeTypedArray (const S *data, size_t count) |
| template<typename V, typename S, size_t Arity = 1> | |
| emscripten::val | Wasm::packedToTypedArray (const V &v) |
| template<typename V, typename S, size_t Arity = 1> | |
| V | Wasm::packedFromTypedArray (emscripten::val arr) |
| std::function< bool(float)> | Wasm::jsToCppCallback (emscripten::val cb) |