diff options
| author | Jonathan Gordon <rockbox@jdgordon.info> | 2011-09-24 13:19:34 +0000 |
|---|---|---|
| committer | Jonathan Gordon <rockbox@jdgordon.info> | 2011-09-24 13:19:34 +0000 |
| commit | aa0f4a4bbe370032d8166628f456709be1330118 (patch) | |
| tree | 597c91fb16493881d7a281ef3c28e274a899022b /firmware/include/core_alloc.h | |
| parent | f323300b82aa945dd4cadb20d8d7e23a6602ef49 (diff) | |
| download | rockbox-aa0f4a4bbe370032d8166628f456709be1330118.zip rockbox-aa0f4a4bbe370032d8166628f456709be1330118.tar.gz rockbox-aa0f4a4bbe370032d8166628f456709be1330118.tar.bz2 rockbox-aa0f4a4bbe370032d8166628f456709be1330118.tar.xz | |
FS#12273 - use buflib for font storage. thanks to the testers :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30589 a1c6a512-1295-4272-9138-f99709370657
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 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__ */ |