/* * Definitions common to the various unicode-related modules. * * This file is part of Beastie * SPDX-FileCopyrightText: 2025 Norman Gray * SPDX-License-Identifier: BSD-2-Clause */ #ifndef UNIDEFS_H_LOADED #define UNIDEFS_H_LOADED 1 // Define codepoint_t once. // We could potentially declare this in uniprops.h or unicode.h, // but doing so here ensures that the corresponding .c modules are // tidily independent of each other. // // This is the definition recommended by the ICU docs. typedef int32_t codepoint_t; // for convenience and consistency typedef uint8_t byte_t; #endif /* UNIDEFS_H_LOADED */