mirror of
https://github.com/Decompollaborate/rabbitizer.git
synced 2024-12-28 15:17:59 +00:00
20 lines
472 B
Plaintext
20 lines
472 B
Plaintext
/* SPDX-FileCopyrightText: © 2022-2024 Decompollaborate */
|
|
/* SPDX-License-Identifier: MIT */
|
|
|
|
#define HASH #
|
|
#define HASH_EXPANSION(x) x
|
|
#define SPECIAL_RS_TAG(...) HASH_EXPANSION(HASH)[__VA_ARGS__]
|
|
|
|
#define RABBITIZER_DEF_ABI(name) name,
|
|
|
|
SPECIAL_RS_TAG(repr(u32))
|
|
SPECIAL_RS_TAG(derive(Debug, Copy, Clone, Hash, PartialEq, Eq))
|
|
SPECIAL_RS_TAG(allow(non_camel_case_types))
|
|
pub enum Abi {
|
|
#include "Abi.inc"
|
|
|
|
RABBITIZER_DEF_ABI(MAX)
|
|
}
|
|
|
|
#undef RABBITIZER_DEF_ABI
|