Sha256: 1d96a3d0607001703e6c59214c007ab14d334c05877474b77435d7170668ffa7

Contents?: true

Size: 201 Bytes

Versions: 1

Compression:

Stored size: 201 Bytes

Contents

class NSIndexPath
  def to_a
    indexes_ptr = Pointer.new(:uint, self.length)
    self.getIndexes indexes_ptr
    a = []
    self.length.times do |i|
      a << indexes_ptr[i]
    end
    a
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sugarcube-0.7.9 lib/sugarcube/nsindexpath.rb