diff options
| -rw-r--r-- | lib/efl/ffi.rb | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/efl/ffi.rb b/lib/efl/ffi.rb index 05c9cbd..e7eea39 100644 --- a/lib/efl/ffi.rb +++ b/lib/efl/ffi.rb @@ -73,6 +73,7 @@ module Efl          def to_s; Object.instance_method(:to_s).bind(self).call+' ['+self.to_ptr.to_s+']' end          def to_ptr; @ptr; end          def === o; @ptr === o.to_ptr; end +        def null?; @ptr.null?; end          def address; @ptr.address; end          def self.included kls              # create class instance @search_prefixes  | 
