/* -*- Mode: C++; tab-width: 20; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #ifndef THEBES_RLBOX_TYPES #define THEBES_RLBOX_TYPES #include "mozilla/rlbox/rlbox_types.hpp" #ifdef MOZ_WASM_SANDBOXING_GRAPHITE namespace rlbox { class rlbox_lucet_sandbox; } using rlbox_gr_sandbox_type = rlbox::rlbox_lucet_sandbox; #else using rlbox_gr_sandbox_type = rlbox::rlbox_noop_sandbox; #endif using rlbox_sandbox_gr = rlbox::rlbox_sandbox; template using sandbox_callback_gr = rlbox::sandbox_callback; template using tainted_gr = rlbox::tainted; template using tainted_opaque_gr = rlbox::tainted_opaque; template using tainted_volatile_gr = rlbox::tainted_volatile; using rlbox::tainted_boolean_hint; #endif