OSDN Git Service

* common/common-target-def.h, common/common-target.def,
[pf3gnuchains/gcc-fork.git] / gcc / common / common-target.h
1 /* Data structure definitions for common hooks.
2    Copyright (C) 2011
3    Free Software Foundation, Inc.
4
5    This program is free software; you can redistribute it and/or modify it
6    under the terms of the GNU General Public License as published by the
7    Free Software Foundation; either version 3, or (at your option) any
8    later version.
9
10    This program is distributed in the hope that it will be useful,
11    but WITHOUT ANY WARRANTY; without even the implied warranty of
12    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13    GNU General Public License for more details.
14
15    You should have received a copy of the GNU General Public License
16    along with this program; see the file COPYING3.  If not see
17    <http://www.gnu.org/licenses/>.
18
19    In other words, you are welcome to use, share and improve this program.
20    You are forbidden to forbid anyone else to use, share and improve
21    what you give them.   Help stamp out software-hoarding!  */
22
23 #ifndef GCC_COMMON_TARGET_H
24 #define GCC_COMMON_TARGET_H
25
26 #define DEFHOOKPOD(NAME, DOC, TYPE, INIT) TYPE NAME;
27 #define DEFHOOK(NAME, DOC, TYPE, PARAMS, INIT) TYPE (* NAME) PARAMS;
28 #define DEFHOOK_UNDOC DEFHOOK
29 #define HOOKSTRUCT(FRAGMENT) FRAGMENT
30
31 #include "common-target.def"
32
33 extern struct gcc_targetm_common targetm_common;
34
35 #endif /* GCC_C_TARGET_H */