GCC Middle and Back End API Reference
highlev-plugin-common.h
Go to the documentation of this file.
1 /* Interface for high-level plugins in GCC - Parts common between GCC,
2  ICI and high-level plugins.
3 
4  Copyright (C) 2009-2013 Free Software Foundation, Inc.
5 
6  Contributed by INRIA.
7 
8 This file is part of GCC.
9 
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
13 version.
14 
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
18 for more details.
19 
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/>. */
23 
24 #ifndef HIGHLEV_PLUGIN_COMMON_H
25 #define HIGHLEV_PLUGIN_COMMON_H
26 
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
32 
33 #endif /* HIGHLEV_PLUGIN_COMMON_H */