diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2011-04-28 00:25:53 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2011-04-28 00:25:53 +0200 |
commit | 0035feb9b4f29f06ffd430b763534f40604af4a9 (patch) | |
tree | 64fa44d11d7124b82b9028a2c0955e7dfac35538 /lib | |
parent | cd86f9d647525824c89552641228ca22b85c7a39 (diff) | |
download | ffi-efl-0035feb9b4f29f06ffd430b763534f40604af4a9.zip ffi-efl-0035feb9b4f29f06ffd430b763534f40604af4a9.tar.gz |
start Efl::Evas::EvasObject specs
Diffstat (limited to 'lib')
-rw-r--r-- | lib/efl/evas.rb | 6 |
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 |