/* Just enough of moonbit.h for compositor/kms/kms_stub.c to build outside the MoonBit runtime. * The shim uses MoonBit only for the export macro and the length of byte arrays it is handed; * csrc/kms.c supplies the length through kms_bytes_len. */ #pragma once #include #define MOONBIT_FFI_EXPORT typedef uint8_t *moonbit_bytes_t; extern int32_t kms_bytes_len; #define Moonbit_array_length(p) (kms_bytes_len)