Files
app-ethereum/src_features/signMessageEIP712/mem_utils.h
2022-08-05 17:52:31 +02:00

12 lines
287 B
C

#ifndef MEM_UTILS_H_
#define MEM_UTILS_H_
#include <stdint.h>
#include <stdbool.h>
char *mem_alloc_and_copy_char(char c);
void *mem_alloc_and_copy(const void *data, size_t size);
uint8_t mem_alloc_and_format_uint(uint32_t value, const uint8_t max_chars);
#endif // MEM_UTILS_H_