diff options
Diffstat (limited to 'lib/efl/evas.rb')
-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 |