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