summaryrefslogtreecommitdiff
path: root/lib/skin_parser/skin_buffer.h
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2010-06-17 13:54:09 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2010-06-17 13:54:09 +0000
commit95b0cefad012c3092d8e0f4c91118fe157baf6c0 (patch)
tree3657fac796b197f165af21ac1f60bac35ccb01f2 /lib/skin_parser/skin_buffer.h
parent8d3dbb88094a8774cd571675d76a1319850259c5 (diff)
downloadrockbox-95b0cefad012c3092d8e0f4c91118fe157baf6c0.tar.gz
rockbox-95b0cefad012c3092d8e0f4c91118fe157baf6c0.zip
tiny clean up of memory allocation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26887 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'lib/skin_parser/skin_buffer.h')
-rw-r--r--lib/skin_parser/skin_buffer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/skin_parser/skin_buffer.h b/lib/skin_parser/skin_buffer.h
index fa8f149c71..ff477da539 100644
--- a/lib/skin_parser/skin_buffer.h
+++ b/lib/skin_parser/skin_buffer.h
@@ -28,4 +28,8 @@
28void skin_buffer_init(size_t size); 28void skin_buffer_init(size_t size);
29/* Allocate size bytes from the buffer */ 29/* Allocate size bytes from the buffer */
30void* skin_buffer_alloc(size_t size); 30void* skin_buffer_alloc(size_t size);
31
32/* get the number of bytes currently being used */
33size_t skin_buffer_usage(void);
34size_t skin_buffer_freespace(void);
31#endif 35#endif