summaryrefslogtreecommitdiffstats
path: root/lib/efl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/efl')
-rw-r--r--lib/efl/eina_list.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/efl/eina_list.rb b/lib/efl/eina_list.rb
index ea59f89..0d73c29 100644
--- a/lib/efl/eina_list.rb
+++ b/lib/efl/eina_list.rb
@@ -37,6 +37,7 @@ module Efl
@ptr = nil
end
def each
+ return if not block_given?
p = @ptr
while p!=::FFI::Pointer::NULL
l = Efl::EinaList::EinaListStruct.new p