20 lines
299 B
C
20 lines
299 B
C
#ifndef MEM_H_
|
|
#define MEM_H_
|
|
|
|
#ifdef HAVE_EIP712_FULL_SUPPORT
|
|
|
|
#include <stdlib.h>
|
|
|
|
void mem_init(void);
|
|
void mem_reset(void);
|
|
void *mem_alloc(size_t size);
|
|
void mem_dealloc(size_t size);
|
|
|
|
#ifdef DEBUG
|
|
extern size_t mem_max;
|
|
#endif
|
|
|
|
#endif // HAVE_EIP712_FULL_SUPPORT
|
|
|
|
#endif // MEM_H_
|