summaryrefslogtreecommitdiffstats
path: root/lib/efl/evas.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-08-18 10:24:54 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-08-18 10:24:54 +0200
commitdc9d009af086a84b06ea1a834457d083a83d6e00 (patch)
treef9d6340c719f92559fda0a45ee48f062c82c3e1f /lib/efl/evas.rb
parent8e9d5ca59eaef7e977857ebe39c086c966c556dd (diff)
downloadffi-efl-dc9d009af086a84b06ea1a834457d083a83d6e00.zip
ffi-efl-dc9d009af086a84b06ea1a834457d083a83d6e00.tar.gz
don't use AutoPointer for child objects
Diffstat (limited to 'lib/efl/evas.rb')
-rw-r--r--lib/efl/evas.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efl/evas.rb b/lib/efl/evas.rb
index abcc24e..91b872f 100644
--- a/lib/efl/evas.rb
+++ b/lib/efl/evas.rb
@@ -138,7 +138,7 @@ module Efl
when FFI::Pointer
a
when Method
- FFI::AutoPointer.new a.call(*args), REvasObject.method(:release)
+ a.call(*args)
else
raise ArgumentError.new "wrong argument #{a.class.name}"
end