highlev-plugin-common.h 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. /* Interface for high-level plugins in GCC - Parts common between GCC,
  2. ICI and high-level plugins.
  3. Copyright (C) 2009-2019 Free Software Foundation, Inc.
  4. Contributed by INRIA.
  5. This file is part of GCC.
  6. GCC is free software; you can redistribute it and/or modify it under
  7. the terms of the GNU General Public License as published by the Free
  8. Software Foundation; either version 3, or (at your option) any later
  9. version.
  10. GCC is distributed in the hope that it will be useful, but WITHOUT ANY
  11. WARRANTY; without even the implied warranty of MERCHANTABILITY or
  12. FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
  13. for more details.
  14. You should have received a copy of the GNU General Public License
  15. along with GCC; see the file COPYING3. If not see
  16. <http://www.gnu.org/licenses/>. */
  17. #ifndef HIGHLEV_PLUGIN_COMMON_H
  18. #define HIGHLEV_PLUGIN_COMMON_H
  19. /* Return codes for invoke_plugin_callbacks / call_plugin_event . */
  20. #define PLUGEVT_SUCCESS 0
  21. #define PLUGEVT_NO_EVENTS 1
  22. #define PLUGEVT_NO_SUCH_EVENT 2
  23. #define PLUGEVT_NO_CALLBACK 3
  24. #endif /* HIGHLEV_PLUGIN_COMMON_H */