Main Page | Class Hierarchy | Class List | File List | Class Members

errorcheck.h

00001 /***************************************************************************
00002                           errorcheck.h  -  description
00003                              -------------------
00004     begin                : Sat Feb 1 2003
00005     copyright            : (C) 2003 by Moritz Franosch
00006     email                : mail@Franosch.org
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef NANA_ERRORCHECK_H
00019 #define NANA_ERRORCHECK_H
00020 
00021 
00022 // define the nana handler for printing assertion violations and exiting
00023 #define I_DEFAULT_HANDLER(expr,file,line,param) \
00024   I_handler(expr,__FILE__,__LINE__,__PRETTY_FUNCTION__)
00025 
00026 
00027 #include "nana.h"
00028 #include "eiffel.h"
00029 
00030 
00033 void I_handler(const char* expr, const char* file, const int line, 
00034                const char* pretty_function);
00035 
00036 
00037 #endif // NANA_ERRORCHECK_H

Generated on Fri Apr 22 11:06:42 2005 for partsim.kdevelop by doxygen 1.3.6