summaryrefslogtreecommitdiff
path: root/src/bindings
diff options
context:
space:
mode:
authorDaniel Kolesa <quaker66@gmail.com>2014-04-14 14:46:55 +0100
committerDaniel Kolesa <d.kolesa@samsung.com>2014-06-10 15:48:47 +0100
commit08e0fea8ca4d717314a0ac07947ef26aca8797ef (patch)
tree11ec06163af924896ee3e27c9965b93a101d8d2b /src/bindings
parent6f7f03daf900af7dba2b383b1103960c995717f1 (diff)
elua: list and readonly object fixes
Diffstat (limited to 'src/bindings')
-rw-r--r--src/bindings/luajit/eina/list.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bindings/luajit/eina/list.lua b/src/bindings/luajit/eina/list.lua
index c62b9c604e..af59e107e5 100644
--- a/src/bindings/luajit/eina/list.lua
+++ b/src/bindings/luajit/eina/list.lua
@@ -247,8 +247,7 @@ local List_Base = util.Readonly_Object:clone {
247 end, 247 end,
248 248
249 to_array = function(self) 249 to_array = function(self)
250 self = dgetmt(self) 250 local l = dgetmt(self).__list
251 local l = self.__list
252 if l == nil then return {}, 0 end 251 if l == nil then return {}, 0 end
253 local n = 0 252 local n = 0
254 local r = {} 253 local r = {}