summaryrefslogtreecommitdiff
path: root/firmware/include
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/include')
-rw-r--r--firmware/include/core_alloc.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/firmware/include/core_alloc.h b/firmware/include/core_alloc.h
index f5206c9..b2edec5 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)
extern struct buflib_context core_ctx;
return buflib_get_data(&core_ctx, handle);
}
+
+static inline const char* core_get_name(int handle)
+{
+ extern struct buflib_context core_ctx;
+ return buflib_get_name(&core_ctx, handle);
+}
+
#endif /* __CORE_ALLOC_H__ */