diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2011-04-28 15:53:16 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2011-04-28 15:53:16 +0200 |
commit | bc37e7474ba44f4a258892793fb1cdc0694c90f0 (patch) | |
tree | 887828d07e6bf952a1297136778a013541199ed7 /lib/efl/evas.rb | |
parent | a057edb6142441a9341dee805ef66288cf402423 (diff) | |
download | ffi-efl-bc37e7474ba44f4a258892793fb1cdc0694c90f0.zip ffi-efl-bc37e7474ba44f4a258892793fb1cdc0694c90f0.tar.gz |
move #=== and #address from Evas to FFI::Helper
Diffstat (limited to 'lib/efl/evas.rb')
-rw-r--r-- | lib/efl/evas.rb | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/efl/evas.rb b/lib/efl/evas.rb index 6e75fb6..c4dcbb7 100644 --- a/lib/efl/evas.rb +++ b/lib/efl/evas.rb @@ -67,12 +67,6 @@ module Efl Efl::FFI.evas_free @ptr @ptr=nil end - def === o - @ptr === o.ptr - end - def address - @ptr.address - end def object_add t Efl::Evas::EvasObject.new Efl::FFI.send "evas_object_#{t}_add", @ptr end @@ -128,12 +122,6 @@ module Efl Efl::FFI.evas_object_del @ptr @ptr=nil end - def === o - @ptr === o.ptr - end - def address - @ptr.address - end def geometry_get x = ::FFI::MemoryPointer.new :int y = ::FFI::MemoryPointer.new :int |