module RubyVM::RJIT::CType::BitField

Public Class Methods

new(width, offset) click to toggle source

@param width [Integer] @param offset [Integer]

# File ruby_vm/rjit/c_type.rb, line 86
def self.new(width, offset)
  CPointer.with_class_name('BitField', "#{offset}_#{width}") do
    CPointer::BitField.define(width, offset)
  end
end