Class: RubyVM::RJIT::CType::Array

Inherits:
Object
  • Object
show all
Defined in:
lib/ruby_vm/rjit/c_type.rb

Class Method Summary collapse

Class Method Details

.new(&block) ⇒ Object



66
67
68
69
70
# File 'lib/ruby_vm/rjit/c_type.rb', line 66

def self.new(&block)
  CPointer.with_class_name('Array', block.object_id.to_s) do
    CPointer::Array.define(block)
  end
end