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:
bb284c5
)
docs: Output correct signature for class method first parameter
author
Andy Williams
<andy@andywilliams.me>
Wed, 20 Dec 2017 15:00:18 +0000
(15:00 +0000)
committer
Wonki Kim
<wonki_.kim@samsung.com>
Wed, 10 Jan 2018 11:08:13 +0000
(20:08 +0900)
src/scripts/elua/apps/gendoc.lua
patch
|
blob
|
history
diff --git
a/src/scripts/elua/apps/gendoc.lua
b/src/scripts/elua/apps/gendoc.lua
index
51febf6
..
842df51
100644
(file)
--- a/
src/scripts/elua/apps/gendoc.lua
+++ b/
src/scripts/elua/apps/gendoc.lua
@@
-41,7
+41,9
@@
local gen_func_csig = function(f, ftype)
local rtype = f:return_type_get(ftype)
local fparam = "Eo *obj"
- if f:is_const() or f:is_class() or ftype == f.PROP_GET then
+ if f:is_class() then
+ fparam = "Efl_Class *klass"
+ elseif f:is_const() or ftype == f.PROP_GET then
fparam = "const Eo *obj"
end