def to_i
      p = FFI::MemoryPointer.new(:int64)
      if CF.CFNumberGetValue(self, :kCFNumberSInt64Type, p) != 0
        p.get_int64 0
      else
        raise "CF.CFNumberGetValue failed to convert #{self.inspect} to kCFNumberSInt64Type"
      end
    end
def to_i
      p = FFI::MemoryPointer.new(:int64)
      if CF.CFNumberGetValue(self, :kCFNumberSInt64Type, p) != 0
        p.get_int64 0
      else
        raise "CF.CFNumberGetValue failed to convert #{self.inspect} to kCFNumberSInt64Type"
      end
    end
Converts the CF::Number to an integer
 May raise if the conversion cannot be done without loss of precision
 @return [Integer]