class Yadriggy::C::CType::IntCArray

Array of 32bit integers available only in C.

@see IntArray

Public Instance Methods

[](*indexes) click to toggle source
# File lib/yadriggy/c/ctype.rb, line 82
def [](*indexes)
  typedecl foreign: Int
  check_range(indexes)
  raise 'IntCArray is not available in Ruby' unless @debug
end
[]=(*indexes) click to toggle source
# File lib/yadriggy/c/ctype.rb, line 88
def []=(*indexes)
  typedecl foreign: Void
  check_range(indexes[0, indexes.size - 1])
  raise 'IntCArray is not available in Ruby' unless @debug
end
type() click to toggle source
# File lib/yadriggy/c/ctype.rb, line 78
def type()
  RubyClass::Integer
end