summaryrefslogtreecommitdiff
path: root/firmware/include/core_alloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/include/core_alloc.h')
-rw-r--r--firmware/include/core_alloc.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/firmware/include/core_alloc.h b/firmware/include/core_alloc.h
index 095cb5da11..67fe99dfdc 100644
--- a/firmware/include/core_alloc.h
+++ b/firmware/include/core_alloc.h
@@ -17,6 +17,7 @@ bool core_shrink(int handle, void* new_start, size_t new_size);
17int core_free(int handle); 17int core_free(int handle);
18size_t core_available(void); 18size_t core_available(void);
19size_t core_allocatable(void); 19size_t core_allocatable(void);
20const char* core_get_name(int handle);
20#ifdef DEBUG 21#ifdef DEBUG
21void core_check_valid(void); 22void core_check_valid(void);
22#endif 23#endif
@@ -43,10 +44,4 @@ static inline void* core_get_data(int handle)
43 return buflib_get_data(&core_ctx, handle); 44 return buflib_get_data(&core_ctx, handle);
44} 45}
45 46
46static inline const char* core_get_name(int handle)
47{
48 extern struct buflib_context core_ctx;
49 return buflib_get_name(&core_ctx, handle);
50}
51
52#endif /* __CORE_ALLOC_H__ */ 47#endif /* __CORE_ALLOC_H__ */