/** * @file memmgr.h * Furi: memory managment API and glue */ #pragma once #include #include #include #include "check.h" #ifdef __cplusplus extern "C" { #endif // define for test case "link against furi memmgr" #define FURI_MEMMGR_GUARD 1 /** Get free heap size * * @return free heap size in bytes */ size_t memmgr_get_free_heap(void); /** Get heap watermark * * @return minimum heap in bytes */ size_t memmgr_get_minimum_free_heap(void); #ifdef __cplusplus } #endif