forked from enlightenment/efl
docs: always wrap events from events_get
This commit is contained in:
parent
e0c0b12a94
commit
6f71222084
|
@ -195,7 +195,11 @@ M.Class = Node:clone {
|
||||||
end,
|
end,
|
||||||
|
|
||||||
events_get = function(self)
|
events_get = function(self)
|
||||||
return self.class:events_get():to_array()
|
local ret = {}
|
||||||
|
for ev in self.class:events_get() do
|
||||||
|
ret[#ret + 1] = M.Event(ev)
|
||||||
|
end
|
||||||
|
return ret
|
||||||
end,
|
end,
|
||||||
|
|
||||||
c_get_function_name_get = function(self)
|
c_get_function_name_get = function(self)
|
||||||
|
|
|
@ -129,7 +129,7 @@ M.check_class = function(cl)
|
||||||
end
|
end
|
||||||
|
|
||||||
for i, ev in ipairs(cl:events_get()) do
|
for i, ev in ipairs(cl:events_get()) do
|
||||||
if not ev:documentation_get() then
|
if not ev:doc_get():exists() then
|
||||||
print_missing(cl:full_name_get() .. "." .. ev:name_get(), "event")
|
print_missing(cl:full_name_get() .. "." .. ev:name_get(), "event")
|
||||||
stat_incr("event", true)
|
stat_incr("event", true)
|
||||||
else
|
else
|
||||||
|
|
|
@ -760,7 +760,6 @@ local build_class = function(cl)
|
||||||
else
|
else
|
||||||
local nt = {}
|
local nt = {}
|
||||||
for i, ev in ipairs(evs) do
|
for i, ev in ipairs(evs) do
|
||||||
ev = dtree.Event(ev)
|
|
||||||
local lbuf = writer.Buffer()
|
local lbuf = writer.Buffer()
|
||||||
lbuf:write_link(ev:nspaces_get(cl, true), ev:name_get())
|
lbuf:write_link(ev:nspaces_get(cl, true), ev:name_get())
|
||||||
nt[#nt + 1] = {
|
nt[#nt + 1] = {
|
||||||
|
|
Loading…
Reference in New Issue