class RubyVM::MJIT::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 lib/mjit/c_pointer.rb, line 210
def self.[]=(addr, value)
  super(addr, value ? 1 : 0)
end

Public Instance Methods

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