class FFI::Tcl::ObjType

The following structure represents a type of object, which is a particular internal representation for an object plus a set of functions that provide standard operations on objects of that type.

Public Instance Methods

inspect() click to toggle source
# File lib/ffi-tk/ffi/tcl/obj.rb, line 42
def inspect
  '#<ObjType name=%p>' % [self[:name]]
end
to_i() click to toggle source
# File lib/ffi-tk/ffi/tcl/obj.rb, line 38
def to_i
  pointer.get_pointer(0).to_i
end