1 /* src/vm/assertion.hpp - assertion options
3 Copyright (C) 2007, 2008
4 CACAOVM - Verein zur Foerderung der freien virtuellen Maschine CACAO
6 This file is part of CACAO.
8 This program is free software; you can redistribute it and/or
9 modify it under the terms of the GNU General Public License as
10 published by the Free Software Foundation; either version 2, or (at
11 your option) any later version.
13 This program is distributed in the hope that it will be useful, but
14 WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
26 #ifndef _ASSERTION_HPP
27 #define _ASSERTION_HPP
33 #include "toolbox/list.hpp"
36 typedef struct assertion_name_t assertion_name_t;
38 struct assertion_name_t {
42 /* listnode_t linkage; */
45 /* -ea/-esa/-da/-dsa options **************************************************/
48 extern List<assertion_name_t*>* list_assertion_names;
50 extern List* list_assertion_names;
53 extern int32_t assertion_class_count;
54 extern int32_t assertion_package_count;
55 extern bool assertion_user_enabled;
56 extern bool assertion_system_enabled;
58 /* function prototypes ********************************************************/
64 void assertion_ea_da(const char *name, bool enabled);
70 #endif // _ASSERTION_HPP
74 * These are local overrides for various environment variables in Emacs.
75 * Please do not remove this and leave it at the end of the file, where
76 * Emacs will automagically detect them.
77 * ---------------------------------------------------------------------
84 * vim:noexpandtab:sw=4:ts=4: