11debfc3dSmrg /* Interface for high-level plugins in GCC - Parts common between GCC, 21debfc3dSmrg ICI and high-level plugins. 31debfc3dSmrg 4*8feb0f0bSmrg Copyright (C) 2009-2020 Free Software Foundation, Inc. 51debfc3dSmrg 61debfc3dSmrg Contributed by INRIA. 71debfc3dSmrg 81debfc3dSmrg This file is part of GCC. 91debfc3dSmrg 101debfc3dSmrg GCC is free software; you can redistribute it and/or modify it under 111debfc3dSmrg the terms of the GNU General Public License as published by the Free 121debfc3dSmrg Software Foundation; either version 3, or (at your option) any later 131debfc3dSmrg version. 141debfc3dSmrg 151debfc3dSmrg GCC is distributed in the hope that it will be useful, but WITHOUT ANY 161debfc3dSmrg WARRANTY; without even the implied warranty of MERCHANTABILITY or 171debfc3dSmrg FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 181debfc3dSmrg for more details. 191debfc3dSmrg 201debfc3dSmrg You should have received a copy of the GNU General Public License 211debfc3dSmrg along with GCC; see the file COPYING3. If not see 221debfc3dSmrg <http://www.gnu.org/licenses/>. */ 231debfc3dSmrg 241debfc3dSmrg #ifndef HIGHLEV_PLUGIN_COMMON_H 251debfc3dSmrg #define HIGHLEV_PLUGIN_COMMON_H 261debfc3dSmrg 271debfc3dSmrg /* Return codes for invoke_plugin_callbacks / call_plugin_event . */ 281debfc3dSmrg #define PLUGEVT_SUCCESS 0 291debfc3dSmrg #define PLUGEVT_NO_EVENTS 1 301debfc3dSmrg #define PLUGEVT_NO_SUCH_EVENT 2 311debfc3dSmrg #define PLUGEVT_NO_CALLBACK 3 321debfc3dSmrg 331debfc3dSmrg #endif /* HIGHLEV_PLUGIN_COMMON_H */ 34