c-target.h 1.3 KB

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