docs: Output correct signature for class method first parameter

This commit is contained in:
Andy Williams 2017-12-20 15:00:18 +00:00
parent 4202dca002
commit 99f9789902
1 changed files with 3 additions and 1 deletions

View File

@ -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