mirror of
https://github.com/Decompollaborate/rabbitizer.git
synced 2025-01-01 08:59:40 +00:00
17 lines
303 B
C
17 lines
303 B
C
/* SPDX-FileCopyrightText: © 2022 Decompollaborate */
|
|
/* SPDX-License-Identifier: MIT */
|
|
|
|
#ifndef RABBITIZER_UTILS_H
|
|
#define RABBITIZER_UTILS_H
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
#define ARRAY_COUNT(arr) (sizeof(arr) / sizeof(arr[0]))
|
|
|
|
|
|
int32_t RabbitizerUtils_From2Complement(uint32_t number, int bits);
|
|
|
|
|
|
#endif
|