rabbitizer/tables/templates/python/InstrCategory.tablepyi.template
2024-01-28 12:16:11 -03:00

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