From 756dbbfb0ec867711cb33f1224f8014c167c5a45 Mon Sep 17 00:00:00 2001 From: Xavi Artigas Date: Fri, 2 Aug 2019 17:29:27 +0200 Subject: [PATCH] mono-docs: Add more event args link for event handlers There were some events missing tags (see f01b1134012bafcc4d0c82588230796a7c9ef5bb) --- src/bin/eolian_mono/eolian/mono/events.hh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/bin/eolian_mono/eolian/mono/events.hh b/src/bin/eolian_mono/eolian/mono/events.hh index 6daccc2..053fd65 100644 --- a/src/bin/eolian_mono/eolian/mono/events.hh +++ b/src/bin/eolian_mono/eolian/mono/events.hh @@ -367,6 +367,10 @@ struct event_definition_generator if(!as_generator(documentation(1)).generate(sink, evt, context)) return false; + if (etype.is_engaged()) + if (!as_generator( + scope_tab << "/// \n" + ).generate(sink, evt, context)) return false; // Visible event declaration. Either a regular class member or an explicit interface implementation. if (klass.type == attributes::class_type::interface_ || klass.type == attributes::class_type::mixin) -- 2.7.4