summaryrefslogtreecommitdiffstats
path: root/lib/efl
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-04-28 00:25:53 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-04-28 00:25:53 +0200
commit0035feb9b4f29f06ffd430b763534f40604af4a9 (patch)
tree64fa44d11d7124b82b9028a2c0955e7dfac35538 /lib/efl
parentcd86f9d647525824c89552641228ca22b85c7a39 (diff)
downloadffi-efl-0035feb9b4f29f06ffd430b763534f40604af4a9.zip
ffi-efl-0035feb9b4f29f06ffd430b763534f40604af4a9.tar.gz
start Efl::Evas::EvasObject specs
Diffstat (limited to 'lib/efl')
-rw-r--r--lib/efl/evas.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/efl/evas.rb b/lib/efl/evas.rb
index 641bf46..6e75fb6 100644
--- a/lib/efl/evas.rb
+++ b/lib/efl/evas.rb
@@ -128,6 +128,12 @@ 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