diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-03-21 13:30:58 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-03-21 13:30:58 +0000 |
commit | 28f6096586bf4e3465140f48f1eae54f11fef88d (patch) | |
tree | cad019bc88da694a12706c0cf23ef48e4a84f6df /src/debug.h | |
parent | 995eea38b362e9c57abfb5354a8b6e1af6dd3637 (diff) | |
download | manaserv-28f6096586bf4e3465140f48f1eae54f11fef88d.tar.gz manaserv-28f6096586bf4e3465140f48f1eae54f11fef88d.tar.bz2 manaserv-28f6096586bf4e3465140f48f1eae54f11fef88d.tar.xz manaserv-28f6096586bf4e3465140f48f1eae54f11fef88d.zip |
Some header fixes, formatting conventions and moved DevCpp project file.
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 |