aboutsummaryrefslogtreecommitdiff
path: root/gcc/plugin.def
diff options
context:
space:
mode:
authorBasile Starynkevitch <basile@starynkevitch.net>2013-11-20 16:42:04 +0000
committerBasile Starynkevitch <bstarynk@gcc.gnu.org>2013-11-20 16:42:04 +0000
commitc34144fa60ee2e8b51fff62b75329ab2abae4c79 (patch)
tree81e99a4004369d4c0c620af11ec6155017887a90 /gcc/plugin.def
parent9abaec9c1ce6de2035637ba50e57f64dcdf5f22f (diff)
downloadgcc-c34144fa60ee2e8b51fff62b75329ab2abae4c79.zip
gcc-c34144fa60ee2e8b51fff62b75329ab2abae4c79.tar.gz
gcc-c34144fa60ee2e8b51fff62b75329ab2abae4c79.tar.bz2
plugin.def: Add comment about register_callback and invoke_plugin_callbacks_full.
2013-11-20 Basile Starynkevitch <basile@starynkevitch.net> * plugin.def: Add comment about register_callback and invoke_plugin_callbacks_full. * plugin.c (register_callback, invoke_plugin_callbacks_full): Handle PLUGIN_INCLUDE_FILE event. From-SVN: r205125
Diffstat (limited to 'gcc/plugin.def')
-rw-r--r--gcc/plugin.def3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/plugin.def b/gcc/plugin.def
index 25a6458..154f01c 100644
--- a/gcc/plugin.def
+++ b/gcc/plugin.def
@@ -97,6 +97,9 @@ DEFEVENT (PLUGIN_NEW_PASS)
as a const char* pointer. */
DEFEVENT (PLUGIN_INCLUDE_FILE)
+/* When adding a new hard-coded plugin event, don't forget to edit in
+ file plugin.c the functions register_callback and
+ invoke_plugin_callbacks_full accordingly! */
/* After the hard-coded events above, plugins can dynamically allocate events
at run time.