projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34d2f67
)
mono-docs: Add descriptions to event args
author
Xavi Artigas
<xavierartigas@yahoo.es>
Fri, 2 Aug 2019 12:03:26 +0000
(14:03 +0200)
committer
WooHyun Jung
<wh0705.jung@samsung.com>
Mon, 5 Aug 2019 02:51:02 +0000
(11:51 +0900)
Event args structs had fields without description (missing <value> tag).
src/bin/eolian_mono/eolian/mono/events.hh
patch
|
blob
|
history
diff --git
a/src/bin/eolian_mono/eolian/mono/events.hh
b/src/bin/eolian_mono/eolian/mono/events.hh
index
013b7d8
..
503af67
100644
(file)
--- a/
src/bin/eolian_mono/eolian/mono/events.hh
+++ b/
src/bin/eolian_mono/eolian/mono/events.hh
@@
-253,6
+253,7
@@
struct event_argument_wrapper_generator
<< "[Efl.Eo.BindingEntity]\n"
<< "public class " << name_helpers::managed_event_args_short_name(evt) << " : EventArgs {\n"
<< scope_tab << "/// <summary>Actual event payload.</summary>\n"
+ << scope_tab << "/// <value>" << evt.documentation.summary << "</value>\n"
<< scope_tab << "public " << type << " arg { get; set; }\n"
<< "}\n"
).generate(sink, *etype, context);