Sha256: 310584f2cd44fcf90c23705f0d33a60677a78af2c888e06b37128b9b781c4a23
Contents?: true
Size: 319 Bytes
Versions: 1
Compression:
Stored size: 319 Bytes
Contents
class IndexData attr_accessor :ptr def initialize(data) @num_indices = data.count @ptr = Pointer.new(:uchar, @num_indices) set_data(data) end def set_data(indices) indices.each_with_index do |index,offset| @ptr[offset] = index end end def size @num_indices end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rubymotionr-0.0.1 | spec/multiple-rubymotion-apps/HelloGL/app/index_data.rb |