summaryrefslogtreecommitdiffstats
path: root/lib/efl/eina_hash.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-05-03 21:21:58 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-05-03 21:21:58 +0200
commit38539b2515507e78415a0b40f496c74bb11b9d79 (patch)
treeaa6499a5c912da6abc7f8658b9751c7ed8a5975d /lib/efl/eina_hash.rb
parent2527c06659f34daa5604f78f34f0a24e7efd7f39 (diff)
downloadffi-efl-38539b2515507e78415a0b40f496c74bb11b9d79.zip
ffi-efl-38539b2515507e78415a0b40f496c74bb11b9d79.tar.gz
be 1.8 compatible
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