q66 pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=4761f316870a7ce0ec12369595106c105e62249f

commit 4761f316870a7ce0ec12369595106c105e62249f
Author: Daniel Kolesa <d.kol...@osg.samsung.com>
Date:   Mon Aug 15 13:43:25 2016 +0100

    docs: remove some unused funcs in docgen
---
 src/scripts/elua/apps/gendoc.lua | 16 ++--------------
 1 file changed, 2 insertions(+), 14 deletions(-)

diff --git a/src/scripts/elua/apps/gendoc.lua b/src/scripts/elua/apps/gendoc.lua
index 1aa030d..bebfac2 100644
--- a/src/scripts/elua/apps/gendoc.lua
+++ b/src/scripts/elua/apps/gendoc.lua
@@ -13,14 +13,6 @@ local dtree = require("docgen.doctree")
 
 -- eolian to various doc elements conversions
 
-local get_brief_fdoc = function(f, ftype)
-    return f:doc_get(f.METHOD):brief_get(f:fallback_doc_get(ftype))
-end
-
-local get_full_fdoc = function(f, ftype)
-    return f:doc_get(f.METHOD):full_get(f:fallback_doc_get(ftype))
-end
-
 local propt_to_type = {
     [dtree.Function.PROPERTY] = "(get, set)",
     [dtree.Function.PROP_GET] = "(get)",
@@ -352,7 +344,8 @@ local build_functable = function(f, title, ctitle, cl, tp)
             lbuf:write_i(pt)
         end
         nt[#nt + 1] = {
-            lbuf:finish(), get_brief_fdoc(v)
+            lbuf:finish(),
+            v:doc_get(v.METHOD):brief_get(v:fallback_doc_get())
         }
         if v:type_str_get() == "property" then
             build_property(v, cl)
@@ -408,11 +401,6 @@ local build_ref = function()
     f:finish()
 end
 
-local write_full_fdoc = function(f, fn, ftype)
-    f:write_raw(fn:doc_get(fn.METHOD)
-        :full_get(fn:fallback_doc_get(ftype), true))
-end
-
 local build_inherits
 build_inherits = function(cl, t, lvl)
     t = t or {}

-- 


Reply via email to