class RubyVM::RJIT::CType::Pointer
Public Class Methods
new(&block)
click to toggle source
This takes a block to avoid “stack level too deep” on a cyclic reference @param block [Proc]
# File ruby_vm/rjit/c_type.rb, line 68 def self.new(&block) CPointer.with_class_name('Pointer', block.object_id.to_s) do CPointer::Pointer.define(block) end end