diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2010-07-29 12:37:48 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2010-07-29 12:37:48 +0000 |
commit | 2d31d77a8ba231cb03ec35863c4c4ce2024f6509 (patch) | |
tree | b85ca1bede3e83695619064ee9a323f0a8da1865 /lib/skin_parser/skin_buffer.h | |
parent | e436483b66a931fef6436e9cd3e69eb2b3ff1f7b (diff) |
FS#11470 - new skin code, finally svn uses the new parser from the theme editor. This means that a skin that passes the editor WILL pass svn and checkwps (unless the target runs out of skin buffer or something.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27613 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'lib/skin_parser/skin_buffer.h')
-rw-r--r-- | lib/skin_parser/skin_buffer.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/skin_parser/skin_buffer.h b/lib/skin_parser/skin_buffer.h index ff477da539..1698b8afb2 100644 --- a/lib/skin_parser/skin_buffer.h +++ b/lib/skin_parser/skin_buffer.h @@ -25,11 +25,15 @@ #include <stdlib.h> #ifndef _SKIN_BUFFFER_H_ #define _SKIN_BUFFFER_H_ -void skin_buffer_init(size_t size); +void skin_buffer_init(char* buffer, 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); + +/* save and restore a buffer position incase a skin fails to load */ +void skin_buffer_save_position(void); +void skin_buffer_restore_position(void); #endif |