diff options
Diffstat (limited to 'src/debug.h')
-rw-r--r-- | src/debug.h | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/src/debug.h b/src/debug.h index 8fdd19ab..754fe277 100644 --- a/src/debug.h +++ b/src/debug.h @@ -19,13 +19,16 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */ + +#ifndef _TMW_SERVER_DEBUG_ +#define _TMW_SERVER_DEBUG_ - // This file defines the return types for debugging +// This file defines the return types for debugging -// (PASTE THE LINE BELOW to include debug support in your file) -// -// extern void debugCatch(int result); -// +/** + * Returns a message on function failure if the debug flag is set to true. + */ +extern void debugCatch(int result); // message handler definitions @@ -40,4 +43,6 @@ #define TMW_ACCOUNTERROR_BANNED 101 #define TMW_ACCOUNTERROR_ALREADYASSIGNED 102 #define TMW_ACCOUNTERROR_CHARNOTFOUND 103 -#defire TMW_ACCOUNTERROR_ASSIGNFAILED 104 +#define TMW_ACCOUNTERROR_ASSIGNFAILED 104 + +#endif |