diff options
Diffstat (limited to 'firmware/include/core_alloc.h')
-rw-r--r-- | firmware/include/core_alloc.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/firmware/include/core_alloc.h b/firmware/include/core_alloc.h index f5206c9db9..b2edec5377 100644 --- a/firmware/include/core_alloc.h +++ b/firmware/include/core_alloc.h | |||
@@ -33,4 +33,11 @@ static inline void* core_get_data(int handle) | |||
33 | extern struct buflib_context core_ctx; | 33 | extern struct buflib_context core_ctx; |
34 | return buflib_get_data(&core_ctx, handle); | 34 | return buflib_get_data(&core_ctx, handle); |
35 | } | 35 | } |
36 | |||
37 | static inline const char* core_get_name(int handle) | ||
38 | { | ||
39 | extern struct buflib_context core_ctx; | ||
40 | return buflib_get_name(&core_ctx, handle); | ||
41 | } | ||
42 | |||
36 | #endif /* __CORE_ALLOC_H__ */ | 43 | #endif /* __CORE_ALLOC_H__ */ |