summaryrefslogtreecommitdiffstats
path: root/lib/efl/eina_hash.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/efl/eina_hash.rb')
-rw-r--r--lib/efl/eina_hash.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efl/eina_hash.rb b/lib/efl/eina_hash.rb
index 59d99e2..e2d05be 100644
--- a/lib/efl/eina_hash.rb
+++ b/lib/efl/eina_hash.rb
@@ -17,7 +17,7 @@ module Efl
when NilClass
FFI::AutoPointer.new cstr.call, REinaHash.method(:release)
when FFI::Pointer
- FFI::AutoPointer.new ( o==FFI::Pointer::NULL ? cstr.call : o ), REinaHash.method(:release)
+ FFI::AutoPointer.new( (o==FFI::Pointer::NULL ? cstr.call : o), REinaHash.method(:release))
when Hash
ptr = cstr.call
o.each do |k,v| Efl::EinaHash.eina_hash_add ptr, k, v end