| // Copyright 2026 The Fuchsia Authors | |
| // | |
| // Use of this source code is governed by a MIT-style | |
| // license that can be found in the LICENSE file or at | |
| // https://opensource.org/licenses/MIT | |
| #include "vm/compressor_ffi.h" | |
| #include <zircon/types.h> | |
| #include <kernel/ffi.h> | |
| extern "C" { | |
| // TODO(https://fxbug.dev/537458631): Remove the annotations once cross-language inlining works. | |
| FFI_ALWAYS_INLINE zx_status_t cpp_vmcompressor_arm(VmCompressor* compressor) { | |
| return compressor->Arm(); | |
| } | |
| } // extern "C" |