forked from enlightenment/efl
elua: list equality
This commit is contained in:
parent
c0a0fd318f
commit
b052ef53e3
|
@ -177,6 +177,9 @@ local List_Base = util.Readonly_Object:clone {
|
||||||
selfmt.__free = freefunc
|
selfmt.__free = freefunc
|
||||||
end
|
end
|
||||||
if list == nil then return end
|
if list == nil then return end
|
||||||
|
selfmt.__eq = function(self, other)
|
||||||
|
return selfmt.__list == dgetmt(other).__list
|
||||||
|
end
|
||||||
selfmt.__list = list
|
selfmt.__list = list
|
||||||
end,
|
end,
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue