1
0
Fork 0
forked from len0rd/rockbox

skin_engine: Reenable skin debugging in the sim (use --debugwps)

Change-Id: I2881edda45cd3ea69f5284d93bc93c47bb63b3f2
This commit is contained in:
Jonathan Gordon 2012-03-15 23:26:07 +11:00
parent 182a6c80ba
commit 5edae54e0d
6 changed files with 10 additions and 671 deletions

View file

@ -1,6 +1,6 @@
skin_buffer.c
skin_parser.c
#if !defined(ROCKBOX) || defined(__PCTOOL__)
#if !defined(ROCKBOX) || defined(__PCTOOL__) || defined(SIMULATOR)
skin_debug.c
#endif
skin_scan.c

View file

@ -283,7 +283,7 @@ void skin_debug_params(int count, struct skin_tag_parameter params[])
}
}
void skin_debug_indent()
void skin_debug_indent(void)
{
int i;
for(i = 0; i < debug_indent_level; i++)
@ -293,7 +293,7 @@ void skin_debug_indent()
#endif
#define MIN(a,b) ((a<b)?(a):(b))
void skin_error_format_message()
void skin_error_format_message(void)
{
int i;
char text[128];

View file

@ -28,7 +28,7 @@ extern "C"
{
#endif
#if !defined(ROCKBOX) || defined(__PCTOOL__)
#if !defined(ROCKBOX) || defined(__PCTOOL__) || defined(SIMULATOR)
#define SKINPARSER_DEBUG
#endif
@ -41,7 +41,7 @@ int skin_error_col(void);
char* skin_error_message(void);
void skin_clear_errors(void);
void skin_debug_tree(struct skin_element* root);
void skin_error_format_message();
void skin_error_format_message(void);
/* Auxiliary debug functions */
void skin_debug_params(int count, struct skin_tag_parameter params[]);