1 /* Implement timing-related runtime actions for CHILL.
2 Copyright (C) 1992,1993 Free Software Foundation, Inc.
5 This file is part of GNU CC.
7 GNU CC is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2, or (at your option)
12 GNU CC is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with GNU CC; see the file COPYING. If not, write to
19 the Free Software Foundation, 59 Temple Place - Suite 330,
20 Boston, MA 02111-1307, USA. */
22 /* As a special exception, if you link this library with other files,
23 some of which are compiled with GCC, to produce an executable,
24 this library does not by itself cause the resulting executable
25 to be covered by the GNU General Public License.
26 This exception does not however invalidate any other reasons why
27 the executable file might be covered by the GNU General Public License. */
29 #ifndef __rtltypes_h__
30 #define __rtltypes_h__
34 /* Add prototype support. */
36 #if defined (USE_PROTOTYPES) ? USE_PROTOTYPES : defined (__STDC__)
37 #define PROTO(ARGS) ARGS
39 #define PROTO(ARGS) ()
51 extern TVaryingCharType
**chill_argv
;
52 extern int chill_argc
;
55 /* definitions for exceptions */
60 } TExceptionDefinition
;
63 typedef char *__ch_exception
;
64 #define EX_EQ(e1, e2) (strcmp(e1, e2)==0)
66 typedef void *__ch_exception
;
67 #define EX_EQ(e1, e2) (e1 == e2)
69 #define __ch_else_except ((__ch_exception)0)
71 struct __ch_handled_excepts
73 /* List is ended by a code==0, or ex==__ch_else_except (ELSE handler). */
75 int code
; /* Positive number indicating ordinal in handler list. */
78 /* definitions for exception handlers */
79 typedef struct __ch_handler
81 struct __ch_handler
*prev
;
82 struct __ch_handled_excepts
*handlers
;
84 } TExceptionHandlerStack
;
87 #define EXCEPTION(x) /* nothing */
89 #endif /* __rtltypes_h__ */