mirror of
https://github.com/Decompollaborate/rabbitizer.git
synced 2024-12-27 12:16:07 +00:00
18 lines
389 B
Plaintext
18 lines
389 B
Plaintext
/* SPDX-FileCopyrightText: © 2023-2024 Decompollaborate */
|
|
/* SPDX-License-Identifier: MIT */
|
|
|
|
from __future__ import annotations
|
|
|
|
from .Enum import Enum
|
|
|
|
#define RABBITIZER_DEF_INSTR_CATEGORY(name) name: Enum
|
|
|
|
class InstrCategory:
|
|
#include "InstrCategory.inc"
|
|
MAX: Enum
|
|
|
|
@staticmethod
|
|
def fromStr(name: str | None) -> Enum|None: ...
|
|
|
|
#undef RABBITIZER_DEF_INSTR_CATEGORY
|