q66 pushed a commit to branch master.

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

commit 356e36922c0c28a032cb0695155bd4d489478dd7
Author: Daniel Kolesa <[email protected]>
Date:   Fri Sep 26 13:11:05 2014 +0100

    elua: lualian event cleanup
---
 src/bin/elua/modules/lualian.lua | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)

diff --git a/src/bin/elua/modules/lualian.lua b/src/bin/elua/modules/lualian.lua
index ebb6856..69aa116 100644
--- a/src/bin/elua/modules/lualian.lua
+++ b/src/bin/elua/modules/lualian.lua
@@ -336,22 +336,14 @@ local Event = Node:clone {
         self.ecname = ecname
     end,
 
-    gen_ffi_name = function(self)
-        local ffin = self.cached_ffi_name
-        if ffin then return ffin end
-        ffin = "_" .. self.ecname
-        self.cached_ffi_name = ffin
-        return ffin
-    end,
-
     generate = function(self, s, last)
         s:write("        [\"", self.ename, "\"] = __lib.",
-            self:gen_ffi_name(), last and "\n" or ",\n")
+            "_" .. self.ecname, last and "\n" or ",\n")
     end,
 
     gen_ffi = function(self, s)
         s:write("    extern const Eo_Event_Description ",
-            self:gen_ffi_name(), ";\n")
+            "_" .. self.ecname, ";\n")
     end,
 
     gen_ctor = function(self, s)

-- 


Reply via email to