You've already forked rabbitizer
mirror of
https://github.com/encounter/rabbitizer.git
synced 2026-03-30 11:35:30 -07:00
31 lines
670 B
C
31 lines
670 B
C
/* SPDX-FileCopyrightText: © 2022-2024 Decompollaborate */
|
|
/* SPDX-License-Identifier: MIT */
|
|
|
|
#ifndef RABBITIZER_INSTRSUFFIX_H
|
|
#define RABBITIZER_INSTRSUFFIX_H
|
|
#pragma once
|
|
|
|
#include "common/Utils.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
|
|
struct RabbitizerInstruction;
|
|
|
|
#include "generated/InstrSuffix_enum.h"
|
|
|
|
CONST NODISCARD NON_NULL(1)
|
|
size_t RabbitizerInstrSuffix_getSizeForBuffer(const struct RabbitizerInstruction *self, RabbitizerInstrSuffix instrSuffix);
|
|
|
|
CONST NODISCARD NON_NULL(1, 2)
|
|
size_t RabbitizerInstrSuffix_processSuffix(const struct RabbitizerInstruction *self, char *dst, RabbitizerInstrSuffix instrSuffix);
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|