From 95b0cefad012c3092d8e0f4c91118fe157baf6c0 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Thu, 17 Jun 2010 13:54:09 +0000 Subject: tiny clean up of memory allocation git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26887 a1c6a512-1295-4272-9138-f99709370657 --- lib/skin_parser/skin_buffer.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/skin_parser/skin_buffer.h') 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 @@ void skin_buffer_init(size_t size); /* Allocate size bytes from the buffer */ void* skin_buffer_alloc(size_t size); + +/* get the number of bytes currently being used */ +size_t skin_buffer_usage(void); +size_t skin_buffer_freespace(void); #endif -- cgit v1.2.3