class RubyVM::RJIT::CPointer::Bool

-Fiddle::TYPE_CHAR Immediate with special handling of true/false

Public Class Methods

[]=(addr, value) click to toggle source
Calls superclass method
# File ruby_vm/rjit/c_pointer.rb, line 236
def self.[]=(addr, value)
  super(addr, value ? 1 : 0)
end

Public Instance Methods

*() click to toggle source
Calls superclass method
# File ruby_vm/rjit/c_pointer.rb, line 231
def *
  return nil if @addr == 0
  super != 0
end