123456789_123456789_123456789_123456789_123456789_

Class: Fiddle::CUnion

Relationships & Source Files
Inherits: Object
Defined in: ext/fiddle/lib/fiddle/struct.rb

Overview

A base class for objects representing a C union

Class Method Summary

Class Method Details

.entity_class

accessor to CUnionEntity

[ GitHub ]

  
# File 'ext/fiddle/lib/fiddle/struct.rb', line 127

def CUnion.entity_class
  CUnionEntity
end

.offsetof(name, members, types)

This method is for internal use only.
[ GitHub ]

  
# File 'ext/fiddle/lib/fiddle/struct.rb', line 131

def self.offsetof(name, members, types) # :nodoc:
  0
end