module RCGTK::BindingClass

This module provides access to stored FFI::Pointer objects and allows a class to be passed directly into FFI methods. It also provides a pointer comparison method.

Attributes

ptr[RW]

@return [FFI::Pointer]

to_ptr[RW]

@return [FFI::Pointer]

Public Instance Methods

==(other) click to toggle source

Compares one BindingClass object to another.

@param [BindingClass] other Another BindingClass object to compare to.

@return [Boolean]

# File lib/rcgtk/bindings.rb, line 43
def ==(other)
        self.class == other.class and @ptr == other.ptr
end