Class: Fiddle::CUnion

Inherits:
Object
  • Object
show all
Defined in:
lib/fiddle/struct.rb

Overview

A base class for objects representing a C union

Class Method Summary collapse

Class Method Details

.entity_classObject

accessor to Fiddle::CUnionEntity



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

def CUnion.entity_class
  CUnionEntity
end

.offsetof(name, members, types) ⇒ Object

:nodoc:



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

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