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