module RubyVM::MJIT::CType::BitField

Public Class Methods

new(width, offset) click to toggle source

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

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