/* SPDX-FileCopyrightText: © 2023-2024 Decompollaborate */ /* SPDX-License-Identifier: MIT */ from __future__ import annotations from .Enum import Enum #define RABBITIZER_DEF_REG(prefix, name, numeric, ...) \ name: Enum #define RABBITIZER_DEF_REG_NODOLLAR(prefix, name, numeric, ...) \ RABBITIZER_DEF_REG(prefix, name, numeric, __VA_ARGS__) class RegCop1N64: #include "registers/RabbitizerRegister_Cop1N64.inc" #undef RABBITIZER_DEF_REG_NODOLLAR #undef RABBITIZER_DEF_REG