[Scummvm-cvs-logs] SF.net SVN: scummvm:[48802] scummvm/trunk/backends/platform/psp/trace.h
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Mon Apr 26 12:28:39 CEST 2010
Revision: 48802
http://scummvm.svn.sourceforge.net/scummvm/?rev=48802&view=rev
Author: fingolfin
Date: 2010-04-26 10:28:38 +0000 (Mon, 26 Apr 2010)
Log Message:
-----------
PSP: Cleanup trace.h a bit
Modified Paths:
--------------
scummvm/trunk/backends/platform/psp/trace.h
Modified: scummvm/trunk/backends/platform/psp/trace.h
===================================================================
--- scummvm/trunk/backends/platform/psp/trace.h 2010-04-25 21:53:27 UTC (rev 48801)
+++ scummvm/trunk/backends/platform/psp/trace.h 2010-04-26 10:28:38 UTC (rev 48802)
@@ -44,8 +44,6 @@
extern int psp_debug_indent;
#endif
-#endif /* TRACE_H */
-
// From here on, we allow multiple definitions
#undef __PSP_PRINT__
#undef PSP_ERROR
@@ -109,13 +107,14 @@
public:
PSPStackDebugFuncs(const char *name) : _name(name) {
- PSP_INFO_PRINT_INDENT("++ %s\n", _name.c_str()); \
+ PSP_INFO_PRINT_INDENT("++ %s\n", _name.c_str());
psp_debug_indent++;
}
~PSPStackDebugFuncs() {
- psp_debug_indent--; \
- if (psp_debug_indent < 0) PSP_ERROR("debug indent < 0\n"); \
+ psp_debug_indent--;
+ if (psp_debug_indent < 0)
+ PSP_ERROR("debug indent < 0\n");
PSP_INFO_PRINT_INDENT("-- %s\n", _name.c_str());
}
};
@@ -131,3 +130,5 @@
#undef __PSP_PRINT_TO_FILE_AND_SCREEN__
#undef __PSP_DEBUG_FUNCS__
#undef __PSP_DEBUG_PRINT__
+
+#endif /* TRACE_H */
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list