*Massive cleanup (\n\n -> \n, *\n -> \n, cleanup for(...) to for (...), and some other cleanups by hand)

*Fix a possible crash in Spell::DoAllEffectOnTarget

--HG--
branch : trunk
This commit is contained in:
maximius
2009-10-17 15:35:07 -07:00
parent f21f47005d
commit 26b5e033ff
2257 changed files with 750 additions and 103852 deletions
-13
View File
@@ -8,23 +8,17 @@
* @author Chris Cleeland (cleeland.ociweb.com)
*/
//=============================================================================
#ifndef ACE_STACK_TRACE_H
#define ACE_STACK_TRACE_H
#include /**/ "ace/pre.h"
#include "ace/ACE_export.h"
#include "ace/Basic_Types.h"
# if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
# endif /* ACE_LACKS_PRAGMA_ONCE */
# ifndef ACE_STACK_TRACE_SYMBUFSIZ
# define ACE_STACK_TRACE_SYMBUFSIZ 4096
# endif
/**
* @class ACE_Stack_Trace
*
@@ -82,27 +76,20 @@ public:
*
*/
explicit ACE_Stack_Trace (ssize_t starting_frame_offset = 0, size_t num_frames = 0);
/**
* @brief Return buffer as a C-style string.
* @return C-style string with string representation of stack trace.
* @note Lifecycle of string follows lifecycle of ACE_Stack_Trace instance.
*/
const char* c_str() const;
static const size_t SYMBUFSIZ = ACE_STACK_TRACE_SYMBUFSIZ;
private:
char buf_[SYMBUFSIZ];
size_t buflen_;
static const char UNSUPPORTED[];
static const char UNABLE_TO_GET_TRACE[];
void generate_trace (ssize_t starting_frame_offset, size_t num_frames);
};
#include /**/ "ace/post.h"
#endif /* ACE_STACK_TRACE_H */