Sha256: f00f9349644893149673e7882c4d78b63da806bfd0b1b10168cd1572b2206b92

Contents?: true

Size: 164 Bytes

Versions: 23

Compression:

Stored size: 164 Bytes

Contents

require 'ffi/struct'

module FFI

  class Union < FFI::Struct
    def self.builder
      b = StructLayoutBuilder.new
      b.union = true
      b
    end
  end
end

Version data entries

23 entries across 23 versions & 4 rubygems

Version Path
ffi-ffi-0.5.0 lib/ffi/union.rb
remogatto-ffi-0.5.0 lib/ffi/union.rb
ffi-0.6.4 lib/ffi/union.rb
resque-pool-0.3.0 vendor/bundle/ruby/1.8/gems/ffi-0.6.3/lib/ffi/union.rb
resque-pool-0.3.0.beta.2 vendor/bundle/ruby/1.8/gems/ffi-0.6.3/lib/ffi/union.rb
ffi-0.6.3-x86-mingw32 lib/ffi/union.rb
ffi-0.6.3-x86-mswin32 lib/ffi/union.rb
ffi-0.6.3 lib/ffi/union.rb
ffi-0.6.2 lib/ffi/union.rb
ffi-0.6.1 lib/ffi/union.rb
ffi-0.6.0 lib/ffi/union.rb
ffi-0.5.4-x86-mswin32 lib/ffi/union.rb
ffi-0.5.4-x86-mingw32 lib/ffi/union.rb
ffi-0.5.4 lib/ffi/union.rb
ffi-0.5.3-x86-mswin32 lib/ffi/union.rb
ffi-0.5.3 lib/ffi/union.rb
ffi-0.5.3-x86-mingw32 lib/ffi/union.rb
ffi-0.5.1-x86-mswin32 lib/ffi/union.rb
ffi-0.5.1 lib/ffi/union.rb
ffi-0.5.1-x86-mingw32 lib/ffi/union.rb