Flipper Zero Firmware
Loading...
Searching...
No Matches
value_index.h
1#pragma once
2
3#include <stdint.h>
4#include <stdbool.h>
5#include <stddef.h>
6
7#ifdef __cplusplus
8extern "C" {
9#endif
10
22size_t value_index_int32(const int32_t value, const int32_t values[], size_t values_count);
23
35size_t value_index_uint32(const uint32_t value, const uint32_t values[], size_t values_count);
36
48size_t value_index_float(const float value, const float values[], size_t values_count);
49
61size_t value_index_bool(const bool value, const bool values[], size_t values_count);
62
63#ifdef __cplusplus
64}
65#endif