Method: RubyVM::RJIT::CPointer::Array#initialize

Defined in:
lib/ruby_vm/rjit/c_pointer.rb

#initialize(addr, type) ⇒ Array

Returns a new instance of Array.

Parameters:

  • addr (Integer)
  • type (Class)

    RubyVM::RJIT::CType::*



247
248
249
250
# File 'lib/ruby_vm/rjit/c_pointer.rb', line 247

def initialize(addr, type)
  @addr = addr
  @type = type
end