rabbitizer/include/instructions/InstrSuffix_enum.table.template
Anghelo Carvajal fb8c1edbd7
Rust bindings (#17)
* Generate bindings for enums

* Add .gitignore Cargo didn't automatically made

* Actually build the files into the library

* `pub` in `mod` to fix warning

* instruction struct

* Instruction rust binding

* Add InstrId::ALL_MAX

* link C library to rust

* Publish crate CI

* test

* config bindings

* add getters for registers

* add names methods for register enums

* get_operand_type

* feedback from simon

* Forgot to add new file to python setup.py

* get_operands_slice

* add stuff to cargo.toml
2022-12-18 15:15:39 -03:00

15 lines
360 B
Plaintext

/* SPDX-FileCopyrightText: © 2022 Decompollaborate */
/* SPDX-License-Identifier: MIT */
#define RAB_DEF_INSTRSUFFIX(prefix, name) RABINSTRSUFFIX_##prefix##_##name,
typedef enum RabbitizerInstrSuffix {
RAB_DEF_INSTRSUFFIX(ALL, NONE)
#include "InstrSuffix.inc"
RAB_DEF_INSTRSUFFIX(ALL, MAX)
} RabbitizerInstrSuffix;
#undef RAB_DEF_INSTRSUFFIX