q66 pushed a commit to branch master.

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

commit b1e16b482bf3f015718d1646d9c82dadb13600fb
Author: Daniel Kolesa <d.kol...@samsung.com>
Date:   Thu Oct 2 13:39:30 2014 +0100

    elua: remove some more obsolete code (gen_ctor is no longer relevant)
---
 src/bin/elua/modules/lualian.lua | 27 +--------------------------
 1 file changed, 1 insertion(+), 26 deletions(-)

diff --git a/src/bin/elua/modules/lualian.lua b/src/bin/elua/modules/lualian.lua
index 42f2f6f..1e97b4c 100644
--- a/src/bin/elua/modules/lualian.lua
+++ b/src/bin/elua/modules/lualian.lua
@@ -222,9 +222,6 @@ local Method = Node:clone {
             table.concat(proto.cargs, ", "), ");\n"
         }
         s:write(table.concat(cproto))
-    end,
-
-    gen_ctor = function(self, s)
     end
 }
 
@@ -310,17 +307,6 @@ local Property = Method:clone {
         self.cached_proto = proto
 
         return proto
-    end,
-
-    gen_ctor = function(self, s)
-        local proto = self:gen_proto()
-        s:write("        ", "self:define_property",
-            proto.kprop and "_key(" or "(", '"', proto.name, '", ')
-        if self.isget then
-            s:write("self.", proto.name, "_get, nil)\n")
-        else
-            s:write("nil, self.", proto.name, "_set)\n")
-        end
     end
 }
 
@@ -340,9 +326,6 @@ local Event = Node:clone {
     gen_ffi = function(self, s)
         s:write("    extern const Eo_Event_Description ",
             "_" .. self.ecname, ";\n")
-    end,
-
-    gen_ctor = function(self, s)
     end
 }
 
@@ -396,13 +379,6 @@ local Mixin = Node:clone {
                 v:gen_ffi(s)
             end
         end
-    end,
-
-    gen_ctor = function(self, s)
-        for i, v in ipairs(self.children) do
-            v.parent_node = self
-            v:gen_ctor(s)
-        end
     end
 }
 
@@ -438,8 +414,7 @@ end
 ]]):format(mname, self.klass:name_get()))
     end,
 
-    gen_ffi = Mixin.gen_ffi,
-    gen_ctor = Mixin.gen_ctor
+    gen_ffi = Mixin.gen_ffi
 }
 
 local File = Node:clone {

-- 


Reply via email to