模块 RubyVM::RJIT::CType::Union
公共类方法
new(name, sizeof, **members) 点击以切换源代码
@param name [String] @param members [Hash{ Symbol => RubyVM::RJIT::CType::* }]
# File ruby_vm/rjit/c_type.rb, line 21 def self.new(name, sizeof, **members) name = members.keys.join('_') if name.empty? CPointer.with_class_name('Union', name) do CPointer::Union.define(sizeof, members) end end